Answers for "php array index start from 0 or 1"

PHP
0

how to start the index from 1 in php?

$array = array("a","b","c");
array_unshift($array,"");
unset($array[0]);
Posted by: Guest on September-04-2020

Code answers related to "php array index start from 0 or 1"

Browse Popular Code Answers by Language