cvs: phpdoc /en/language control-structures.xml
| From: | Sascha Schumann | Date: | Fri, 16 Mar 2001 20:19:31 +0000 |
| Subject: | cvs: phpdoc /en/language control-structures.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969334710@lists.php.net to get a copy of this message | ||
sas Fri Mar 16 12:19:31 2001 EDT
Modified files:
/phpdoc/en/language control-structures.xml
Log:
Fix typo in second example of foreach
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.24
phpdoc/en/language/control-structures.xml:1.25
--- phpdoc/en/language/control-structures.xml:1.24 Sat Feb 24 16:57:11 2001
+++ phpdoc/en/language/control-structures.xml Fri Mar 16 12:19:31 2001
@@ -526,7 +526,7 @@
$i = 0; /* for illustrative purposes only */
foreach($a as $v) {
- print "\$a[$i] => $k.\n";
+ print "\$a[$i] => $v.\n";
}
/* foreach example 3: key and value */