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

From: Date: Thu, 01 Jan 2004 22:59:00 +0000
Subject: cvs: phpdoc /en/reference/array/functions sort.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969357824@lists.php.net to get a copy of this message
kennyt Thu Jan 1 17:59:00 2004 EDT Modified files: /phpdoc/en/reference/array/functions sort.xml Log: Added note that sort() kills existing keys. Index: phpdoc/en/reference/array/functions/sort.xml diff -u phpdoc/en/reference/array/functions/sort.xml:1.9 phpdoc/en/reference/array/functions/sort.xml:1.10 --- phpdoc/en/reference/array/functions/sort.xml:1.9 Fri Dec 26 04:56:59 2003 +++ phpdoc/en/reference/array/functions/sort.xml Thu Jan 1 17:59:00 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.sort"> <refnamediv> @@ -17,6 +17,13 @@ This function sorts an array. Elements will be arranged from lowest to highest when this function has completed. </para> + <note> + <simpara> + This function assigns new keys for the elements in + <parameter>array</parameter>. It will remove any existing + keys you may have assigned, rather than just reordering the keys. + </simpara> + </note> <para> &return.success; </para>

« previous php.doc (#969357824) next »