Types of Array in PHP
We have three types of array :
An array with a numeric key is known as the indexed array. Values are stored and accessed in linear order.
An array with strings for indexing elements is known as the associative array. Element values are stored in association with key values rather than in strict linear index order.
An array containing one or more arrays within itself is known as a multidimensional array. The values are accessed using multiple indices.