|
Collator::sortcollator_sortSort array using specified collator BeschreibungObjektorientierter Stil
public
bool
Collator::sort
( array
&$arr
[, int $sort_flag
] )Prozeduraler Stil
bool
collator_sort
( Collator
$coll
, array &$arr
[, int $sort_flag
] )This function sorts an array according to current locale rules. Equivalent to standard PHP sort . Parameter-Liste
Rückgabewerte
Gibt bei Erfolg Beispiele
Beispiel #1 collator_sort example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: array ( 0 => 'at', 1 => 'às', 2 => 'as', )array ( 0 => 'as', 1 => 'às', 2 => 'at', ) |