krsort
spatie/fork
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Sort an array by key in descending order
<?php krsort
(array &
$array
,
int $flags
=
SORT_REGULAR
):
true