Arrays
An array in PHP is actually a sequential mapping. A map is a map value to the keyword. This type is optimized on a separate method, and you can use it as a real array or as a list (vector), Hashtable (a map of execution), dictionaries, aggregates, stacks, queues and more. Because you might have another php-array as a value, you can also imitate the tree structure very easily.
The interpretation of this structure is beyond the scope of this manual, but one will find the smallest paradigm for this structure. For more information on this structure, please consult other literature. Syntax with Web site construction Server script Class \phpphp user manual Fancyfunction.array.html>array () 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 composition. If one is expressed by a standard nonnegative integer, it will be interpreted as such (i.e. 8 will be interpreted as 8, 08 will be interpreted as 08).
A value can be arbitrary.
Ignore the key. If you omit a key, the new key will be added with the largest integer index. If the integer index does not exist, the key will be 0. If you have specified a value for a key, then this will be covered.
Array ([key =
http://www.bkjia.com/PHPjc/532353.html www.bkjia.com true http://www.bkjia.com/PHPjc/532353.html techarticle Arrays An array in PHP is actually a sequential mapping. A map is a map value to the keyword. This type is optimized on a separate approach and you can act as a real ...