Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php remove item array

$items = ['banana', 'apple'];

unset($items[0]);

var_dump($items); // ['apple']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #remove #item #array
ADD COMMENT
Topic
Name
5+8 =