Function __global->cms_mb_krsort
Definitions
sources/global3.php
- Sort an array by Unicode key in reverse order. Assumes SORT_FLAG_CASE because our Unicode sorting cannot do case-sensitive, only the SORT_NATURAL flag does anything.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| &$array | array | Yes | No | required parameter | N/A | N/A | The array to sort |
| $sort_flags | integer | No | No | 0 | N/A | N/A | Sort flags |
Preview
Code (PHP)
/**
* Sort an array by Unicode key in reverse order. Assumes SORT_FLAG_CASE because our Unicode sorting cannot do case-sensitive, only the SORT_NATURAL flag does anything.
*
* @param array $array The array to sort
* @param integer $sort_flags Sort flags
*/
function cms_mb_krsort(array &$array, int $sort_flags = 0)
* Sort an array by Unicode key in reverse order. Assumes SORT_FLAG_CASE because our Unicode sorting cannot do case-sensitive, only the SORT_NATURAL flag does anything.
*
* @param array $array The array to sort
* @param integer $sort_flags Sort flags
*/
function cms_mb_krsort(array &$array, int $sort_flags = 0)

