cvs: phpdoc /en/functions array.xml

From: Date: Tue, 23 Jan 2001 01:29:14 +0000
Subject: cvs: phpdoc /en/functions array.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969333847@lists.php.net to get a copy of this message
jimw Mon Jan 22 17:29:14 2001 EDT Modified files: /phpdoc/en/functions array.xml Log: add a multidimensional array example Index: phpdoc/en/functions/array.xml diff -u phpdoc/en/functions/array.xml:1.53 phpdoc/en/functions/array.xml:1.54 --- phpdoc/en/functions/array.xml:1.53 Mon Jan 22 17:20:41 2001 +++ phpdoc/en/functions/array.xml Mon Jan 22 17:29:14 2001 @@ -307,6 +307,9 @@ $array = array ("blue", "red", "green", "blue", "blue"); array_keys ($array, "blue"); // returns array (0, 3, 4) + +$array = array ("color" =&gt; array("blue", "red", "green"), "size" =&gt; array("small", "medium", "large")); +array_keys ($array); // returns array ("color", "size") </programlisting> </example> </para>

« previous php.doc (#969333847) next »