cvs: phpdoc /en/reference/array/functions sort.xml

From: Date: Fri, 21 May 2004 13:54:49 +0000
Subject: cvs: phpdoc /en/reference/array/functions sort.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969360760@lists.php.net to get a copy of this message
nlopess Fri May 21 09:54:49 2004 EDT Modified files: /phpdoc/en/reference/array/functions sort.xml Log: fix #21278: unpredictable results of sort http://cvs.php.net/diff.php/phpdoc/en/reference/array/functions/sort.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc/en/reference/array/functions/sort.xml diff -u phpdoc/en/reference/array/functions/sort.xml:1.11 phpdoc/en/reference/array/functions/sort.xml:1.12 --- phpdoc/en/reference/array/functions/sort.xml:1.11 Tue May 4 15:56:18 2004 +++ phpdoc/en/reference/array/functions/sort.xml Fri May 21 09:54:49 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.sort"> <refnamediv> @@ -83,6 +83,12 @@ The second parameter was added in PHP 4. </para> </note> + <warning> + <simpara> + Be carefull when sorting arrays with mixed types values because + <function>sort</function> can produce unpredictable results. + </simpara> + </warning> <para> See also <function>arsort</function>, <function>asort</function>, <function>ksort</function>,

« previous php.doc (#969360760) next »