diff --git a/reference/spl/arrayiterator/asort.xml b/reference/spl/arrayiterator/asort.xml index eceea90b4c..dfb99f6533 100644 --- a/reference/spl/arrayiterator/asort.xml +++ b/reference/spl/arrayiterator/asort.xml @@ -3,7 +3,7 @@ ArrayIterator::asort - Sort array by values + Sort entries by values @@ -13,22 +13,22 @@ intflagsSORT_REGULAR - Sorts an array by values. + Sorts entries by their values. - - &warn.undocumented.func; - + ¬e.sort-unstable; &reftitle.parameters; - &no.function.parameters; + + &sort.flags.parameter; + &reftitle.returnvalues; - Always returns &true;. + &return.true.always; @@ -39,6 +39,9 @@ ArrayIterator::ksort ArrayIterator::natcasesort ArrayIterator::natsort + ArrayIterator::uasort + ArrayIterator::uksort + asort diff --git a/reference/spl/arrayiterator/ksort.xml b/reference/spl/arrayiterator/ksort.xml index a511591177..efc87a32d9 100644 --- a/reference/spl/arrayiterator/ksort.xml +++ b/reference/spl/arrayiterator/ksort.xml @@ -3,7 +3,7 @@ ArrayIterator::ksort - Sort array by keys + Sort entries by keys @@ -13,22 +13,22 @@ intflagsSORT_REGULAR - Sorts an array by the keys. + Sorts entries by their keys. - - &warn.undocumented.func; - + ¬e.sort-unstable; &reftitle.parameters; - &no.function.parameters; + + &sort.flags.parameter; + &reftitle.returnvalues; - Always returns &true;. + &return.true.always; @@ -39,6 +39,9 @@ ArrayIterator::asort ArrayIterator::natcasesort ArrayIterator::natsort + ArrayIterator::uasort + ArrayIterator::uksort + ksort diff --git a/reference/spl/arrayiterator/natcasesort.xml b/reference/spl/arrayiterator/natcasesort.xml index 89db0c54b1..edc90c6759 100644 --- a/reference/spl/arrayiterator/natcasesort.xml +++ b/reference/spl/arrayiterator/natcasesort.xml @@ -3,7 +3,7 @@ ArrayIterator::natcasesort - Sort an array naturally, case insensitive + Sort entries naturally, case insensitive @@ -15,9 +15,7 @@ Sort the entries by values using a case insensitive "natural order" algorithm. - - &warn.undocumented.func; - + ¬e.sort-unstable; @@ -28,7 +26,7 @@ &reftitle.returnvalues; - &return.void; + &return.true.always; @@ -39,6 +37,8 @@ ArrayIterator::asort ArrayIterator::ksort ArrayIterator::natsort + ArrayIterator::uasort + ArrayIterator::uksort natcasesort diff --git a/reference/spl/arrayiterator/natsort.xml b/reference/spl/arrayiterator/natsort.xml index 57e4b62227..cbfc6e315a 100644 --- a/reference/spl/arrayiterator/natsort.xml +++ b/reference/spl/arrayiterator/natsort.xml @@ -3,7 +3,7 @@ ArrayIterator::natsort - Sort an array naturally + Sort entries naturally @@ -13,11 +13,9 @@ - Sort the entries by values using "natural order" algorithm. + Sort the entries by values using a "natural order" algorithm. - - &warn.undocumented.func; - + ¬e.sort-unstable; @@ -28,7 +26,7 @@ &reftitle.returnvalues; - &return.void; + &return.true.always; @@ -38,7 +36,9 @@ ArrayIterator::asort ArrayIterator::ksort - ArrayIterator::natcasesort + ArrayIterator::natsort + ArrayIterator::uasort + ArrayIterator::uksort natsort diff --git a/reference/spl/arrayiterator/uasort.xml b/reference/spl/arrayiterator/uasort.xml index a1f2ed2bcb..d7bf703a12 100644 --- a/reference/spl/arrayiterator/uasort.xml +++ b/reference/spl/arrayiterator/uasort.xml @@ -40,7 +40,7 @@ &reftitle.returnvalues; - &return.void; + &return.true.always; @@ -49,8 +49,11 @@ ArrayIterator::asort + ArrayIterator::ksort + ArrayIterator::natcasesort + ArrayIterator::natsort ArrayIterator::uksort - usort + uasort diff --git a/reference/spl/arrayiterator/uksort.xml b/reference/spl/arrayiterator/uksort.xml index a368916cb2..decd17d8b1 100644 --- a/reference/spl/arrayiterator/uksort.xml +++ b/reference/spl/arrayiterator/uksort.xml @@ -39,7 +39,7 @@ &reftitle.returnvalues; - &return.void; + &return.true.always; @@ -47,8 +47,11 @@ &reftitle.seealso; + ArrayIterator::asort ArrayIterator::ksort - ArrayIterator::uasort + ArrayIterator::natcasesort + ArrayIterator::natsort + ArrayIterator::uksort uksort diff --git a/reference/spl/arrayobject/asort.xml b/reference/spl/arrayobject/asort.xml index dd0780e154..d489217979 100644 --- a/reference/spl/arrayobject/asort.xml +++ b/reference/spl/arrayobject/asort.xml @@ -12,11 +12,15 @@ intflagsSORT_REGULAR - Sorts the entries such that the keys maintain - their correlation with the entries they are associated - with. This is used mainly when sorting associative arrays where - the actual element order is significant. + Sorts the entries in ascending order, + such that its keys maintain their correlation with the values they + are associated with. + + This is used mainly when sorting associative arrays where the actual + element order is significant. + + ¬e.sort-unstable; @@ -29,7 +33,7 @@ &reftitle.returnvalues; - &return.void; + &return.true.always; @@ -77,6 +81,7 @@ a = orange ArrayObject::natcasesort ArrayObject::uasort ArrayObject::uksort + asort diff --git a/reference/spl/arrayobject/ksort.xml b/reference/spl/arrayobject/ksort.xml index 26f061e896..0cc5fbea92 100644 --- a/reference/spl/arrayobject/ksort.xml +++ b/reference/spl/arrayobject/ksort.xml @@ -15,6 +15,7 @@ Sorts the entries by key, maintaining key to entry correlations. This is useful mainly for associative arrays. + ¬e.sort-unstable; @@ -27,7 +28,7 @@ &reftitle.returnvalues; - &return.void; + &return.true.always; @@ -71,6 +72,7 @@ d = lemon ArrayObject::natcasesort ArrayObject::uasort ArrayObject::uksort + ksort diff --git a/reference/spl/arrayobject/natcasesort.xml b/reference/spl/arrayobject/natcasesort.xml index b19f2b2535..f405bb0bc7 100644 --- a/reference/spl/arrayobject/natcasesort.xml +++ b/reference/spl/arrayobject/natcasesort.xml @@ -20,6 +20,7 @@ alphanumeric strings in the way a human being would while maintaining key/value associations. This is described as a "natural ordering". + ¬e.sort-unstable; @@ -100,6 +101,7 @@ ArrayObject Object ArrayObject::natsort ArrayObject::uasort ArrayObject::uksort + natcasesort diff --git a/reference/spl/arrayobject/natsort.xml b/reference/spl/arrayobject/natsort.xml index 88143bc8db..c2479f5dc0 100644 --- a/reference/spl/arrayobject/natsort.xml +++ b/reference/spl/arrayobject/natsort.xml @@ -19,6 +19,7 @@ (used in ArrayObject::asort) method can be seen in the example below. + ¬e.sort-unstable; @@ -95,6 +96,7 @@ ArrayObject Object ArrayObject::natcasesort ArrayObject::uasort ArrayObject::uksort + natsort diff --git a/reference/spl/arrayobject/uasort.xml b/reference/spl/arrayobject/uasort.xml index 1da9e57596..ef42fa6a01 100644 --- a/reference/spl/arrayobject/uasort.xml +++ b/reference/spl/arrayobject/uasort.xml @@ -20,6 +20,7 @@ This is used mainly when sorting associative arrays where the actual element order is significant. + ¬e.sort-unstable; @@ -30,19 +31,22 @@ callback - Function callback should accept two - parameters which will be filled by pairs of entries. - The comparison function must return an integer less than, equal - to, or greater than zero if the first argument is considered to - be respectively less than, equal to, or greater than the - second. + &return.callbacksort; + &callback.cmp; + + &reftitle.returnvalues; + + &return.true.always; + + + &reftitle.returnvalues; @@ -117,6 +121,7 @@ Array ArrayObject::natsort ArrayObject::natcasesort ArrayObject::uksort + uasort diff --git a/reference/spl/arrayobject/uksort.xml b/reference/spl/arrayobject/uksort.xml index 1856bff2a1..3a7a6e09cb 100644 --- a/reference/spl/arrayobject/uksort.xml +++ b/reference/spl/arrayobject/uksort.xml @@ -15,6 +15,7 @@ This function sorts the keys of the entries using a user-supplied comparison function. The key to entry correlations will be maintained. + ¬e.sort-unstable; @@ -25,16 +26,9 @@ callback - The callback comparison function. - - - Function callback should accept two - parameters which will be filled by pairs of entry keys. - The comparison function must return an integer less than, equal - to, or greater than zero if the first argument is considered to - be respectively less than, equal to, or greater than the - second. + &return.callbacksort; + &callback.cmp; @@ -44,7 +38,7 @@ &reftitle.returnvalues; - &return.void; + &return.true.always; @@ -94,6 +88,7 @@ John: 1 ArrayObject::natsort ArrayObject::natcasesort ArrayObject::uasort + uksort