Search Results
ArrayIterator::natsort () - Sort entries naturally ArrayIterator::uasort () - Sort with a user-defined comparison function and maintain index association ArrayIterator::uksort () - Sort by keys using a user-defined comparison function ksort () - Sort an array by key in ascending order
ArrayIterator:: uksort () - Trier par clés à l'aide d'une fonction de comparaison définie par l'utilisateur ksort () - Trie un tableau en fonction des clés en ordre croissant
See Also ArrayIterator::asort () - Sort array by values ArrayIterator::natcasesort () - Sort an array naturally, case insensitive ArrayIterator::natsort () - Sort an array naturally
To iterate the same array more than once, it is recommended to instantiate ArrayObject and use the ArrayIterator instance either implicitly created when using foreach to iterate over the array stored internally, or create one by calling the ArrayObject::getIterator method manually.
See Also ArrayIterator::asort () - Sort array by values ArrayIterator::natcasesort () - Sort an array naturally, case insensitive ArrayIterator::natsort () - Sort an array naturally
Sort array by keys Signature
ArrayIterator::ksort (PHP 5 >= 5.2.0, PHP 7) ArrayIterator::ksort — Sort array by keys Description public ArrayIterator::ksort ( ) : void Sorts an array by the keys. WarningThis function is currently not documented; only its argument list is available. Parameters This function has no parameters. Return Values No value is returned. See Also ArrayIterator::asort () - Sort array by values ...
