This article will explain the detailed analysis of array types in PHP
PHP’s array is an ordered map. Map is a type that associates keys and values.
The key of PHP array can be of string type or integer type. If the key is a float type, it will be automatically converted to an integer type.
If a key is not specified for a value and the maximum value of the integer type index has been given, the new key is the maximum value plus 1. If the new key has been assigned, then the value will be Cover it.
$arr = array(a,b,5=>c,d,e,6=>g);
echo
;<br>print_r( $arr);<br>echo;