note 120204 deleted from control-structures.break by sobak
| From: | sobak@php.net | Date: | Tue, 22 Nov 2016 08:11:28 +0000 |
| Subject: | note 120204 deleted from control-structures.break by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207463@lists.php.net to get a copy of this message | ||
Note Submitter: mustaroad
----
previously using break statement in the script outside a loop was ending it. But when I checked it
after that, it appeared that PHP was changed to give this error for this situation:
PHP Fatal error: 'break' not in the 'loop' or 'switch' context