ez.no / exponential / documentation / reference / template operators / arrays / reverse
$input_array|reverse()
Array with the elements in reversed order.
The reverse operator simply returns a reversed version of an inputted array.
{array( 1, 2, 3, 4 )|reverse}
returns the array (4,3,2,1).
log in or create a user account to comment.
Comments