note 6059 deleted from break by torben
| From: | torben@php.net | Date: | Mon, 20 Nov 2000 19:05:28 +0000 |
| Subject: | note 6059 deleted from break by torben | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7923@lists.php.net to get a copy of this message | ||
You can't break out of an if. If you use break, it will break out of the for, while or switch
loop.
If you use a break inside of an if statement it breaks out of the current for, while or switch loop.