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>


Reply via email to