There are three types of arrays that you can create. These are:
Indexed array — An array with a numeric key.
Associative array — An array where each key has its own specific value.
Multidimensional array — An array containing one or more arrays within itself.
An indexed or numeric array stores each array element with a numeric index.
In an associative array, the keys assigned to values can be arbitrary and user defined strings.
The multidimensional array is an array in which each element can also be an array and each element in the sub-array can be an array or further contain array within itself and so on.