git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129698 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
André Luis Ferreira da Silva Bacci 2003-06-01 03:55:58 +00:00
parent 06b5173aa5
commit 180c4a1672

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.72 $ -->
<!-- $Revision: 1.73 $ -->
<chapter id="control-structures">
<title>Control Structures</title>
@ -681,10 +681,10 @@ while (++$i) {
</simpara>
<note>
<simpara>
Note that in PHP the
<link linkend="control-structures.switch">switch</link> statement is
considered a looping structure for the purposes of
<literal>continue</literal>.
Note that in PHP the
<link linkend="control-structures.switch">switch</link> statement is
considered a looping structure for the purposes of
<literal>continue</literal>.
</simpara>
</note>
<simpara>
@ -734,11 +734,11 @@ while ($i++ < 5) {
</simpara>
<note>
<simpara>
Note that unlike some other languages, the
<link linkend="control-structures.continue">continue</link> statement
applies to switch and acts similar to <literal>break</literal>. If you
have a switch inside a loop and wish to continue to the next iteration of
the outer loop, use <literal>continue 2</literal>.
Note that unlike some other languages, the
<link linkend="control-structures.continue">continue</link> statement
applies to switch and acts similar to <literal>break</literal>. If you
have a switch inside a loop and wish to continue to the next iteration of
the outer loop, use <literal>continue 2</literal>.
</simpara>
</note>
<para>