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 */
- [PHP-DOC] cvs: phpdoc /en/language control-structure... Ron Chmara
- [PHP-DOC] cvs: phpdoc /en/language control-stru... Sascha Schumann
- [PHP-DOC] cvs: phpdoc /en/language control-stru... Jesus M. Castagnetto
- [PHP-DOC] cvs: phpdoc /en/language control-stru... Daniel Beckham
- [PHP-DOC] cvs: phpdoc /en/language control-stru... Daniel Beckham
- [PHP-DOC] cvs: phpdoc /en/language control-stru... Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/language control-stru... Zak Greant
- [PHP-DOC] cvs: phpdoc /en/language control-stru... Hojtsy Gabor
- [PHP-DOC] cvs: phpdoc /en/language control-stru... Simone Cortesi
- [PHP-DOC] cvs: phpdoc /en/language control-stru... Philip Olson
- [PHP-DOC] cvs: phpdoc /en/language control-stru... jim winstead
- [PHP-DOC] [conventions] .inc or not .inc Gabor Hojtsy