Search Results
ArrayIterator::uksort () - Sort by keys using a user-defined comparison function natcasesort () - Sort an array using a case insensitive "natural order" algorithm
See Also ArrayIterator::asort () - Sort array by values ArrayIterator::ksort () - Sort array by keys ArrayIterator::natsort () - Sort an array naturally natcasesort () - Sort an array using a case insensitive "natural order" algorithm
ArrayIterator::uksort () - Sort by keys using a user-defined comparison function natcasesort () - Sort an array using a case insensitive "natural order" algorithm
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.
ArrayIterator::natcasesort (PHP 5 >= 5.2.0, PHP 7) ArrayIterator::natcasesort — Sort an array naturally, case insensitive Description public ArrayIterator::natcasesort ( ) : void Sort the entries by values using a case insensitive "natural order" algorithm. WarningThis function is currently not documented; only its argument list is available. Parameters This function has no parameters ...
natcasesort is a case insensitive version of natsort. This function implements a sort algorithm that orders alphanumeric strings in the way a human being would while maintaining key/value associations. This is described as a "natural ordering". Note:
PHP tutorial: arrayiterator.natcasesort Sort the entries by values using a case insensitive "natural order" algorithm.
