![]() |
![]() |
$arrayExplicitly creates an array |
Syntax |
|
Description |
Returns an array with the specified items. The items are indexed starting from 0. This is just an explicit way of creating an array with a defined set of items, useful for increasing readability. |
Examples |
%x[] = $array(1,2,3); foreach(%y,%x[]) { echo %y; } |