cvs: phpdoc /en/language types.xml

From: Date: Sun, 22 Jul 2001 14:47:31 +0000
Subject: cvs: phpdoc /en/language types.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969336421@lists.php.net to get a copy of this message
goba Sun Jul 22 10:47:31 2001 EDT Modified files: /phpdoc/en/language types.xml Log: Full of bugs... Index: phpdoc/en/language/types.xml diff -u phpdoc/en/language/types.xml:1.39 phpdoc/en/language/types.xml:1.40 --- phpdoc/en/language/types.xml:1.39 Sun Jul 22 10:25:56 2001 +++ phpdoc/en/language/types.xml Sun Jul 22 10:47:31 2001 @@ -1232,9 +1232,9 @@ <programlisting role="php"> // this $a = array( 'color' => 'red' - , 'taste' => 'sweet', - , 'shape' => 'round', - , 'name' => 'apple', + , 'taste' => 'sweet' + , 'shape' => 'round' + , 'name' => 'apple' , 4 // key will be 0 ); @@ -1242,12 +1242,14 @@ $a['color'] = 'red'; $a['taste'] = 'sweet'; $a['shape'] = 'round'; +$a['name'] = 'apple'; $a[] = 4; // key will be 0 $b[] = 'a'; $b[] = 'b'; $b[] = 'c'; -// will result in the array array( 0 => 'a' , 1 => 'b' , 2 => 'c' ) +// will result in the array array( 0 => 'a' , 1 => 'b' , 2 => 'c' ), +// or simply array('a', 'b', 'c') </programlisting> </informalexample> </para>

« previous php.doc (#969336421) next »