PHP funkce ksort()
Dostupnost ve verzích: PHP 4.0
Sort an array by key
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$array |
array |
není | The input array. |
$sort_flags |
int |
null | You may modify the behavior of the sort using the optional parameter sort_flags, for details see sort. |
Návratové hodnoty
bool
vrátí true v případě úspěchu, jinak false v případě neúspěchu.