ez.no / exponential / documentation / reference / template operators / arrays / array
array( value1 [, value2 [, ... ] ] )
| Name | Type | Description | Required |
|---|---|---|---|
| value1 | mixed | Value of any kind | yes |
| value2 | mixed | Value of any kind | no |
| ... |
New array containing input values.
Builds an array using specified elements (passed as parameters to the operator).
{array( 1, 2, 3, 4, 5, 6, 7 )}
returns the array(1,2,3,4,5,6,7).
{array( 1, 2, 3, array( 4, 5, 6 ) )}
returns the array(1,2,3,array(4,5,6)).
log in or create a user account to comment.
Comments