nlopess Tue Jul 6 14:33:58 2004 EDT
Modified files:
/phpdoc/en/language control-structures.xml
Log:
fix #29030
we must use print there because echo can be used with more than one argument
http://cvs.php.net/diff.php/phpdoc/en/language/control-structures.xml?r1=1.91&r2=1.92&ty=u
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.91
phpdoc/en/language/control-structures.xml:1.92
--- phpdoc/en/language/control-structures.xml:1.91 Wed May 5 16:33:32 2004
+++ phpdoc/en/language/control-structures.xml Tue Jul 6 14:33:58 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.91 $ -->
+<!-- $Revision: 1.92 $ -->
<chapter id="language.control-structures">
<title>Control Structures</title>
@@ -453,7 +453,7 @@
/* example 4 */
-for ($i = 1; $i <= 10; echo $i, $i++);
+for ($i = 1; $i <= 10; print $i, $i++);
?>
]]>
</programlisting>