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

From: Date: Fri, 02 Jan 2004 10:28:17 +0000
Subject: Re: cvs: phpdoc /en/reference/array/functions sort.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969357830@lists.php.net to get a copy of this message
Ken Tossell wrote:
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>
Here is a great place where you can add a sentence and a link on what function does not kill the keys... Goba

« previous php.doc (#969357830) next »