note 94770 added to control-structures.continue
| From: | petruzanautico at ra dot moc dot oohay | Date: | Tue, 24 Nov 2009 13:31:48 +0000 |
| Subject: | note 94770 added to control-structures.continue | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-163220@lists.php.net to get a copy of this message | ||
For switch statements, continue behaves exactly as break, skips the rest of the case block and
following case blocks.
Continue with level 1 has no use in switch statements, but looks like it's there for
consistency with other loops.
----
Server IP: 69.147.83.197
Probable Submitter: 190.246.76.210
----
Manual Page -- http://www.php.net/manual/en/control-structures.continue.php
Edit -- https://master.php.net/note/edit/94770
Del: integrated -- https://master.php.net/note/delete/94770/integrated
Del: useless -- https://master.php.net/note/delete/94770/useless
Del: bad code -- https://master.php.net/note/delete/94770/bad+code
Del: spam -- https://master.php.net/note/delete/94770/spam
Del: non-english -- https://master.php.net/note/delete/94770/non-english
Del: in docs -- https://master.php.net/note/delete/94770/in+docs
Del: other reasons-- https://master.php.net/note/delete/94770
Reject -- https://master.php.net/note/reject/94770
Search -- https://master.php.net/manage/user-notes.php