The array_reverse() function returns an array in the reverse order….

The array_reverse() function returns an array in the reverse order.