|
rsortSort an array in descending order Description
true rsort(array
&$array , int $flags = SORT_REGULAR )
Sorts
Parameters
Return Values
Always returns Changelog
Examples
Example #1 rsort example
The above example will output: 0 = orange 1 = lemon 2 = banana 3 = apple The fruits have been sorted in reverse alphabetical order. See Also
|