Function

krsort

Synopsis

krsort(mixed, mixed ...): bool

Area
Runtime\PS\Core\Arrays\Sort\krsortareas

Description

krsort sorts $array in place by key descending with PHP's default comparison, keeping each key attached to its value.

Usage

$value = krsort($arguments);
$fn = krsort(...);

See also