derick          Sun Feb 10 10:49:25 2002 EDT

  Modified files:              
    /phpdoc/en/language control-structures.xml 
  Log:
  - Fix for bug 15488
  
  
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.54 
phpdoc/en/language/control-structures.xml:1.55
--- phpdoc/en/language/control-structures.xml:1.54      Sat Feb  2 10:57:48 2002
+++ phpdoc/en/language/control-structures.xml   Sun Feb 10 10:49:24 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.54 $ -->
+<!-- $Revision: 1.55 $ -->
  <chapter id="control-structures">
   <title>Control Structures</title>
 
@@ -579,6 +579,7 @@
 
 foreach($a as $v) {
     print "\$a[$i] => $v.\n";
+    $i++;
 }
 
 /* foreach example 3: key and value */


Reply via email to