Arrays
An array in PHP is actually an ordered map. A mapping maps values to keywords. This type is optimized over individual methods and you can use it as a real array or a list (vector), hashtable (an implementation of a map), dictionary, aggregate, stack, queue and more. Since you may have another PHP-array as a value, you can also emulate a tree structure very easily.
Explanation of this structure is beyond the scope of this manual, but you will find a minimal example of this structure. For more information about this structure, please consult other literature. Syntax Use Website Construction Server Script Class PHPPHP User Manual fancyfunction.array.html>array() to specify an array
An array can be constructed by array(). It consists of a pair of key => value and a series of numbers separated by commas.
A key is any non-negative integer or a string. If a is expressed by a standard non-negative integer, it will be interpreted as such (i.e. 8 will be interpreted as 8, 08 will be interpreted as 08).