note 13857 deleted from control-structures.continue by nlopess
| From: | nlopess@php.net | Date: | Sat, 27 Dec 2003 11:57:24 +0000 |
| Subject: | note 13857 deleted from control-structures.continue by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-62550@lists.php.net to get a copy of this message | ||
Note Submitter: clownfighter (at) hotmail.com
----
a switch statement counts as a loop for continue.
so, to use continue inside of a switch which is inside of a loop, you must use continue 2 to effect
the loop and not the switch.