array

( unknown )

array -- Create an array

Description

array array ( [mixed ...])

הערה: array() is a language construct used to represent literal arrays, and not a regular function.



דוגמה 1 . array( ) example






דוגמה 2 .









Note that index '3' is defined twice, and keep its final value of 13. Index 4 is defined after index 8, and next generated index (value 19) is 9, since biggest index was 8.

דוגמה 3 .