Complete PHP Array Reference
The array_reverse() function returns an array in the reverse order.
| Parameter | Description |
|---|---|
| array | Required. Specifies an array |
| preserve | Optional. Possible values:
|
The output of the code above will be:
Complete PHP Array Reference
Your message has been sent to W3Schools.