Go Back
array_reverse( array )
Returns: array
array
Throws: InvalidArgumentType
Returns a new array with the elements of the provided array reversed. If an array is not provided, InvalidArgumentType will be thrown.
array = array_reverse( [0, 1, 2, 3] );
Output: [3, 2, 1, 0]
There was an error while loading. Please reload this page.
Home
About & Support
Features
Setting Up
Latest Changes
Releases
Manual