Numeric array is an array with a numeric index, values are stored and accessed in linear.Thease array can store number, string and object but their index will be numbers.
By default array index starts from zero.
Example
$num=array(1,2,3,4,5);
foreach($num as $value){
echo "value is ".$value."<br/>";
}
Output
value is 1
value is 2
value is 3
value is 4
value is 5
Copyright ©2022 coderraj.com. All Rights Reserved.