note 10033 modified in break by ronabop
| From: | ronabop@php.net | Date: | Sun, 10 Dec 2000 04:10:21 +0000 |
| Subject: | note 10033 modified in break by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8569@lists.php.net to get a copy of this message | ||
As I see, break statement only affects *looping* constructs. If you want to break from conditional
statement, use:
do {...} while(0);
Jakub Narêbski
http://www.php.net/manual/control-structures.break.php