dave Fri Jul 9 12:06:48 2004 EDT
Modified files: /phpdoc/en/language control-structures.xml Log: - Revert #29077. http://cvs.php.net/diff.php/phpdoc/en/language/control-structures.xml?r1=1.93&r2=1.94&ty=u Index: phpdoc/en/language/control-structures.xml diff -u phpdoc/en/language/control-structures.xml:1.93 phpdoc/en/language/control-structures.xml:1.94 --- phpdoc/en/language/control-structures.xml:1.93 Fri Jul 9 12:02:28 2004 +++ phpdoc/en/language/control-structures.xml Fri Jul 9 12:06:48 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.93 $ --> +<!-- $Revision: 1.94 $ --> <chapter id="language.control-structures"> <title>Control Structures</title> @@ -344,7 +344,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> (1), and using the <link + <literal>do..while</literal> (0), and using the <link linkend="control-structures.break"><literal>break</literal></link> statement. The following code fragment demonstrates this: <informalexample> @@ -364,7 +364,7 @@ /* process i */ -} while (1); +} while (0); ?> ]]> </programlisting>