PHP’s numerically indexed array begins with which position?
PHP Indexed array begins with position 0.
For example: if $array=array(15,80,67,33);
Then these elements will have following positions:$array[0]=10
(This is beginning position 0 not 1)$array[1]=89
$array[2]=34
$array[3]=67
Learn more about the similar topics:
Tutorials |
---|
No Content Found. |
Exercises & Assignments |
---|
No Content Found. |
Interview Questions & Answers |
---|
No Content Found. |