What is Numeric array | PHP Tutorial for Beginners to Advance Full Course | part 15
What is Numeric array
Numeric arrays can store numbers, strings and any object but their index will be represented by numbers. By default array index starts from zero.
Syntex :
$variable_name = array(value1,value2,value3.......,value n);
Example 1 :
$a = array(1,2,3,4,5,6,7,8);
Example 2 :
$b = array(a,b,c,d,e,f,g,h);