array_reverse
Intervention/image
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return an array with elements in reverse order
<?php array_reverse
(array
$array
,
bool $preserve_keys
=
false
): array