php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch doc-bug-69099.patch for Documentation problem Bug #69099Patch version 2015-03-18 18:16 UTC Return to Bug #69099 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions:Developer: patrick.schwisow@gmail.comIndex: language/control-structures/continue.xml =================================================================== --- language/control-structures/continue.xml (revision 336087) +++ language/control-structures/continue.xml (working copy) @@ -11,10 +11,14 @@ </simpara> <note> <simpara> - Note that in PHP the + In PHP the <link linkend="control-structures.switch">switch</link> statement is considered a looping structure for the purposes of - <literal>continue</literal>. + <literal>continue</literal>. <literal>continue</literal> behaves like + <literal>break</literal> (when no arguments are passed). If a + <literal>switch</literal> is inside a loop, + <literal>continue 2</literal> will continue with the next iteration + of the outer loop. </simpara> </note> <simpara> |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Thu Mar 28 17:01:29 2024 UTC |