PHP » GoLang |
login |
register |
about
|
krsort(PHP 4, PHP 5, PHP 7) krsort — Sort an array by key in reverse order Description
bool krsort
( array
&$array
[, int $sort_flags = SORT_REGULAR
] )Sorts an array by key in reverse order, maintaining key to data correlations. This is useful mainly for associative arrays. Parameters
Return Values
Returns Examples
Example #1 krsort() example
<?php The above example will output: d = lemon c = apple b = banana a = orange See Also
|
more
Recently updated
more
Most requested
more
Last requests
|