Function

arsort

Synopsis

arsort(mixed, mixed ...): bool

Area
Runtime\PS\Core\Arrays\Sort\arsortareas

Description

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

Usage

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

See also