Arrays
An array in PHP is a collection of key/value pairs. This means that it maps
keys (or indexes) to values. Array indexes can be either integers or strings
whereas values can be of any type (including other arrays).
Tip:
Arrays in PHP are implemented using hash tables, which means that
accessing a value has an average complexity of O(1).