array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'arrayiterator.natcasesort.php', 1 => 'ArrayIterator::natcasesort', ), 'up' => array ( 0 => 'class.arrayiterator.php', 1 => 'ArrayIterator', ), 'prev' => array ( 0 => 'arrayiterator.ksort.php', 1 => 'ArrayIterator::ksort', ), 'next' => array ( 0 => 'arrayiterator.natsort.php', 1 => 'ArrayIterator::natsort', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'es', 'path' => 'reference/spl/arrayiterator/natcasesort.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.2.0, PHP 7, PHP 8)
ArrayIterator::natcasesort — Sort entries naturally, case insensitive
Ordena las entradas por valores usando un algoritmo de "ordenado natural" sensible a mayúsculas.
Nota:
Si dos miembros se comparan como iguales, su orden relativo en el array oredenado será indefinido.
Esta función no tiene parámetros.
Siempre devuelve true
.
Versión | Descripción |
---|---|
8.2.0 |
The return type is true now; previously, it was bool.
|