krsort

Example

 bool krsort ( array &$array [, int $sort_flags = SORT_REGULAR ] ) 

Description

Sorts an array by key in reverse order, maintaining key to data correlations. This is useful mainly for associative arrays.

Return Values

Returns TRUE on success or FALSE on failure.