note 101455 added to control-structures.break
| From: | RK at osu1 dot php dot net | Date: | Fri, 17 Dec 2010 12:09:46 +0000 |
| Subject: | note 101455 added to control-structures.break | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175018@lists.php.net to get a copy of this message | ||
If the numerical argument is higher than the number of things which can be broken out of, it seems
to me like the execution of the entire program is stopped.
My program had 8 nested loops. Didn't bother counting them, but wrote: break 10. - Result: Code
following the loops was not processed.
----
Server IP: 69.147.83.197
Probable Submitter: 85.182.241.135
----
Manual Page -- http://www.php.net/manual/en/control-structures.break.php
Edit -- https://master.php.net/note/edit/101455
Del: integrated -- https://master.php.net/note/delete/101455/integrated
Del: useless -- https://master.php.net/note/delete/101455/useless
Del: bad code -- https://master.php.net/note/delete/101455/bad+code
Del: spam -- https://master.php.net/note/delete/101455/spam
Del: non-english -- https://master.php.net/note/delete/101455/non-english
Del: in docs -- https://master.php.net/note/delete/101455/in+docs
Del: other reasons-- https://master.php.net/note/delete/101455
Reject -- https://master.php.net/note/reject/101455
Search -- https://master.php.net/manage/user-notes.php