|
Collator::sortcollator_sortSort array using specified collator DescriptionObject-oriented style
public bool Collator::sort(array
&$array , int $flags = Collator::SORT_REGULAR)Procedural style bool collator_sort(Collator
$object , array &$array , int $flags = Collator::SORT_REGULAR)This function sorts an array according to current locale rules. Equivalent to standard PHP sort . Parameters
Return Values
Returns Examples
Example #1 collator_sort example
The above example will output: array ( 0 => 'at', 1 => 'às', 2 => 'as', )array ( 0 => 'as', 1 => 'às', 2 => 'at', ) |