young Mon Dec 13 13:12:05 2004 EDT
Modified files:
/phpdoc/en/language control-structures.xml
Log:
Typo in manual
http://cvs.php.net/diff.php/phpdoc/en/language/control-structures.xml?r1=1.111&r2=1.112&ty=u
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.111
phpdoc/en/language/control-structures.xml:1.112
--- phpdoc/en/language/control-structures.xml:1.111 Fri Nov 26 09:40:48 2004
+++ phpdoc/en/language/control-structures.xml Mon Dec 13 13:12:04 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.111 $ -->
+<!-- $Revision: 1.112 $ -->
<chapter id="language.control-structures">
<title>Control Structures</title>
@@ -348,7 +348,7 @@
Advanced C users may be familiar with a different usage of the
<literal>do-while</literal> loop, to allow stopping execution in
the middle of code blocks, by encapsulating them with
- <literal>do-while</literal> (0), and using the <link
+ <literal>do-while</literal> (1), and using the <link
linkend="control-structures.break"><literal>break</literal></link>
statement. The following code fragment demonstrates this:
<informalexample>
@@ -368,7 +368,7 @@
/* process i */
-} while (0);
+} while (1);
?>
]]>
</programlisting>