cvs: phpdoc /en/reference/array/functions arsort.xml asort.xml krsort.xml ksort.xml rsort.xml sort.xml uasort.xml uksort.xml usort.xml
| From: | Jakub Vrana | Date: | Fri, 26 Dec 2003 09:56:59 +0000 |
| Subject: | cvs: phpdoc /en/reference/array/functions arsort.xml asort.xml krsort.xml ksort.xml rsort.xml sort.xml uasort.xml uksort.xml usort.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969357696@lists.php.net to get a copy of this message | ||
vrana Fri Dec 26 04:56:59 2003 EDT
Modified files:
/phpdoc/en/reference/array/functions arsort.xml asort.xml
krsort.xml ksort.xml rsort.xml
sort.xml uasort.xml uksort.xml
usort.xml
Log:
sort functions return true or false
Index: phpdoc/en/reference/array/functions/arsort.xml diff -u phpdoc/en/reference/array/functions/arsort.xml:1.7 phpdoc/en/reference/array/functions/arsort.xml:1.8 --- phpdoc/en/reference/array/functions/arsort.xml:1.7 Sun Aug 17 08:21:03 2003 +++ phpdoc/en/reference/array/functions/arsort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.arsort"> <refnamediv> @@ -11,7 +11,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>void</type><methodname>arsort</methodname> + <type>bool</type><methodname>arsort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> </methodsynopsis> @@ -21,6 +21,9 @@ with. This is used mainly when sorting associative arrays where the actual element order is significant. </para> + <para> + &return.success; + </para> <example> <title><function>arsort</function> example</title> <programlisting role="php"> Index: phpdoc/en/reference/array/functions/asort.xml diff -u phpdoc/en/reference/array/functions/asort.xml:1.7 phpdoc/en/reference/array/functions/asort.xml:1.8 --- phpdoc/en/reference/array/functions/asort.xml:1.7 Sun Aug 17 08:21:03 2003 +++ phpdoc/en/reference/array/functions/asort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.asort"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>void</type><methodname>asort</methodname> + <type>bool</type><methodname>asort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> </methodsynopsis> @@ -19,6 +19,9 @@ with. This is used mainly when sorting associative arrays where the actual element order is significant. </para> + <para> + &return.success; + </para> <example> <title><function>asort</function> example</title> <programlisting role="php"> Index: phpdoc/en/reference/array/functions/krsort.xml diff -u phpdoc/en/reference/array/functions/krsort.xml:1.7 phpdoc/en/reference/array/functions/krsort.xml:1.8 --- phpdoc/en/reference/array/functions/krsort.xml:1.7 Sun Aug 17 08:21:03 2003 +++ phpdoc/en/reference/array/functions/krsort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.krsort"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>krsort</methodname> + <type>bool</type><methodname>krsort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> </methodsynopsis> @@ -18,6 +18,9 @@ correlations. This is useful mainly for associative arrays. </para> <para> + &return.success; + </para> + <para> <example> <title><function>krsort</function> example</title> <programlisting role="php"> Index: phpdoc/en/reference/array/functions/ksort.xml diff -u phpdoc/en/reference/array/functions/ksort.xml:1.7 phpdoc/en/reference/array/functions/ksort.xml:1.8 --- phpdoc/en/reference/array/functions/ksort.xml:1.7 Sun Aug 17 08:21:03 2003 +++ phpdoc/en/reference/array/functions/ksort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.ksort"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ksort</methodname> + <type>bool</type><methodname>ksort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> </methodsynopsis> @@ -18,6 +18,9 @@ is useful mainly for associative arrays. </para> <para> + &return.success; + </para> + <para> <example> <title><function>ksort</function> example</title> <programlisting role="php"> Index: phpdoc/en/reference/array/functions/rsort.xml diff -u phpdoc/en/reference/array/functions/rsort.xml:1.7 phpdoc/en/reference/array/functions/rsort.xml:1.8 --- phpdoc/en/reference/array/functions/rsort.xml:1.7 Sun Aug 17 08:21:03 2003 +++ phpdoc/en/reference/array/functions/rsort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.rsort"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>void</type><methodname>rsort</methodname> + <type>bool</type><methodname>rsort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> </methodsynopsis> @@ -17,6 +17,9 @@ This function sorts an array in reverse order (highest to lowest). </para> <para> + &return.success; + </para> + <para> <example> <title><function>rsort</function> example</title> <programlisting role="php"> Index: phpdoc/en/reference/array/functions/sort.xml diff -u phpdoc/en/reference/array/functions/sort.xml:1.8 phpdoc/en/reference/array/functions/sort.xml:1.9 --- phpdoc/en/reference/array/functions/sort.xml:1.8 Mon Dec 15 11:47:04 2003 +++ phpdoc/en/reference/array/functions/sort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.sort"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>void</type><methodname>sort</methodname> + <type>bool</type><methodname>sort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> </methodsynopsis> @@ -18,6 +18,9 @@ lowest to highest when this function has completed. </para> <para> + &return.success; + </para> + <para> <example> <title><function>sort</function> example</title> <programlisting role="php"> Index: phpdoc/en/reference/array/functions/uasort.xml diff -u phpdoc/en/reference/array/functions/uasort.xml:1.5 phpdoc/en/reference/array/functions/uasort.xml:1.6 --- phpdoc/en/reference/array/functions/uasort.xml:1.5 Sat Oct 26 16:40:42 2002 +++ phpdoc/en/reference/array/functions/uasort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.uasort"> <refnamediv> @@ -12,7 +12,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>void</type><methodname>uasort</methodname> + <type>bool</type><methodname>uasort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam><type>callback</type><parameter>cmp_function</parameter></methodparam> </methodsynopsis> @@ -23,6 +23,9 @@ the actual element order is significant. The comparison function is user-defined. </para> + <para> + &return.success; + </para> <note> <para> Please see <function>usort</function> and Index: phpdoc/en/reference/array/functions/uksort.xml diff -u phpdoc/en/reference/array/functions/uksort.xml:1.10 phpdoc/en/reference/array/functions/uksort.xml:1.11 --- phpdoc/en/reference/array/functions/uksort.xml:1.10 Mon Dec 22 05:01:48 2003 +++ phpdoc/en/reference/array/functions/uksort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.uksort"> <refnamediv> @@ -11,7 +11,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>void</type><methodname>uksort</methodname> + <type>bool</type><methodname>uksort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam><type>callback</type><parameter>cmp_function</parameter></methodparam> </methodsynopsis> @@ -30,6 +30,9 @@ second. </para> <para> + &return.success; + </para> + <para> <example> <title><function>uksort</function> example</title> <programlisting role="php"> Index: phpdoc/en/reference/array/functions/usort.xml diff -u phpdoc/en/reference/array/functions/usort.xml:1.15 phpdoc/en/reference/array/functions/usort.xml:1.16 --- phpdoc/en/reference/array/functions/usort.xml:1.15 Mon Dec 15 13:41:56 2003 +++ phpdoc/en/reference/array/functions/usort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> +<!-- $Revision: 1.16 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.usort"> <refnamediv> @@ -11,7 +11,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>void</type><methodname>usort</methodname> + <type>bool</type><methodname>usort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam><type>callback</type><parameter>cmp_function</parameter></methodparam> </methodsynopsis> @@ -38,6 +38,9 @@ </note> </para> <para> + &return.success; + </para> + <para> <example> <title><function>usort</function> example</title> <programlisting role="php">
Index: phpdoc/en/reference/array/functions/arsort.xml diff -u phpdoc/en/reference/array/functions/arsort.xml:1.7 phpdoc/en/reference/array/functions/arsort.xml:1.8 --- phpdoc/en/reference/array/functions/arsort.xml:1.7 Sun Aug 17 08:21:03 2003 +++ phpdoc/en/reference/array/functions/arsort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.arsort"> <refnamediv> @@ -11,7 +11,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>void</type><methodname>arsort</methodname> + <type>bool</type><methodname>arsort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> </methodsynopsis> @@ -21,6 +21,9 @@ with. This is used mainly when sorting associative arrays where the actual element order is significant. </para> + <para> + &return.success; + </para> <example> <title><function>arsort</function> example</title> <programlisting role="php"> Index: phpdoc/en/reference/array/functions/asort.xml diff -u phpdoc/en/reference/array/functions/asort.xml:1.7 phpdoc/en/reference/array/functions/asort.xml:1.8 --- phpdoc/en/reference/array/functions/asort.xml:1.7 Sun Aug 17 08:21:03 2003 +++ phpdoc/en/reference/array/functions/asort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.asort"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>void</type><methodname>asort</methodname> + <type>bool</type><methodname>asort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> </methodsynopsis> @@ -19,6 +19,9 @@ with. This is used mainly when sorting associative arrays where the actual element order is significant. </para> + <para> + &return.success; + </para> <example> <title><function>asort</function> example</title> <programlisting role="php"> Index: phpdoc/en/reference/array/functions/krsort.xml diff -u phpdoc/en/reference/array/functions/krsort.xml:1.7 phpdoc/en/reference/array/functions/krsort.xml:1.8 --- phpdoc/en/reference/array/functions/krsort.xml:1.7 Sun Aug 17 08:21:03 2003 +++ phpdoc/en/reference/array/functions/krsort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.krsort"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>krsort</methodname> + <type>bool</type><methodname>krsort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> </methodsynopsis> @@ -18,6 +18,9 @@ correlations. This is useful mainly for associative arrays. </para> <para> + &return.success; + </para> + <para> <example> <title><function>krsort</function> example</title> <programlisting role="php"> Index: phpdoc/en/reference/array/functions/ksort.xml diff -u phpdoc/en/reference/array/functions/ksort.xml:1.7 phpdoc/en/reference/array/functions/ksort.xml:1.8 --- phpdoc/en/reference/array/functions/ksort.xml:1.7 Sun Aug 17 08:21:03 2003 +++ phpdoc/en/reference/array/functions/ksort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.ksort"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>int</type><methodname>ksort</methodname> + <type>bool</type><methodname>ksort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> </methodsynopsis> @@ -18,6 +18,9 @@ is useful mainly for associative arrays. </para> <para> + &return.success; + </para> + <para> <example> <title><function>ksort</function> example</title> <programlisting role="php"> Index: phpdoc/en/reference/array/functions/rsort.xml diff -u phpdoc/en/reference/array/functions/rsort.xml:1.7 phpdoc/en/reference/array/functions/rsort.xml:1.8 --- phpdoc/en/reference/array/functions/rsort.xml:1.7 Sun Aug 17 08:21:03 2003 +++ phpdoc/en/reference/array/functions/rsort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.rsort"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>void</type><methodname>rsort</methodname> + <type>bool</type><methodname>rsort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> </methodsynopsis> @@ -17,6 +17,9 @@ This function sorts an array in reverse order (highest to lowest). </para> <para> + &return.success; + </para> + <para> <example> <title><function>rsort</function> example</title> <programlisting role="php"> Index: phpdoc/en/reference/array/functions/sort.xml diff -u phpdoc/en/reference/array/functions/sort.xml:1.8 phpdoc/en/reference/array/functions/sort.xml:1.9 --- phpdoc/en/reference/array/functions/sort.xml:1.8 Mon Dec 15 11:47:04 2003 +++ phpdoc/en/reference/array/functions/sort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.sort"> <refnamediv> @@ -9,7 +9,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>void</type><methodname>sort</methodname> + <type>bool</type><methodname>sort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> </methodsynopsis> @@ -18,6 +18,9 @@ lowest to highest when this function has completed. </para> <para> + &return.success; + </para> + <para> <example> <title><function>sort</function> example</title> <programlisting role="php"> Index: phpdoc/en/reference/array/functions/uasort.xml diff -u phpdoc/en/reference/array/functions/uasort.xml:1.5 phpdoc/en/reference/array/functions/uasort.xml:1.6 --- phpdoc/en/reference/array/functions/uasort.xml:1.5 Sat Oct 26 16:40:42 2002 +++ phpdoc/en/reference/array/functions/uasort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.uasort"> <refnamediv> @@ -12,7 +12,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>void</type><methodname>uasort</methodname> + <type>bool</type><methodname>uasort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam><type>callback</type><parameter>cmp_function</parameter></methodparam> </methodsynopsis> @@ -23,6 +23,9 @@ the actual element order is significant. The comparison function is user-defined. </para> + <para> + &return.success; + </para> <note> <para> Please see <function>usort</function> and Index: phpdoc/en/reference/array/functions/uksort.xml diff -u phpdoc/en/reference/array/functions/uksort.xml:1.10 phpdoc/en/reference/array/functions/uksort.xml:1.11 --- phpdoc/en/reference/array/functions/uksort.xml:1.10 Mon Dec 22 05:01:48 2003 +++ phpdoc/en/reference/array/functions/uksort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.uksort"> <refnamediv> @@ -11,7 +11,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>void</type><methodname>uksort</methodname> + <type>bool</type><methodname>uksort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam><type>callback</type><parameter>cmp_function</parameter></methodparam> </methodsynopsis> @@ -30,6 +30,9 @@ second. </para> <para> + &return.success; + </para> + <para> <example> <title><function>uksort</function> example</title> <programlisting role="php"> Index: phpdoc/en/reference/array/functions/usort.xml diff -u phpdoc/en/reference/array/functions/usort.xml:1.15 phpdoc/en/reference/array/functions/usort.xml:1.16 --- phpdoc/en/reference/array/functions/usort.xml:1.15 Mon Dec 15 13:41:56 2003 +++ phpdoc/en/reference/array/functions/usort.xml Fri Dec 26 04:56:59 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> +<!-- $Revision: 1.16 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.usort"> <refnamediv> @@ -11,7 +11,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>void</type><methodname>usort</methodname> + <type>bool</type><methodname>usort</methodname> <methodparam><type>array</type><parameter>array</parameter></methodparam> <methodparam><type>callback</type><parameter>cmp_function</parameter></methodparam> </methodsynopsis> @@ -38,6 +38,9 @@ </note> </para> <para> + &return.success; + </para> + <para> <example> <title><function>usort</function> example</title> <programlisting role="php">