note 120204 added to control-structures.break

From: Date: Tue, 22 Nov 2016 07:16:38 +0000
Subject: note 120204 added to control-structures.break
Groups: php.notes 
Request: Send a blank email to php-notes+get-207462@lists.php.net to get a copy of this message
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 ---- Server IP: 72.52.91.14 Probable Submitter: 37.236.112.33 ---- Manual Page -- http://php.net/manual/en/control-structures.break.php Edit -- https://master.php.net/note/edit/120204 Del: integrated -- https://master.php.net/note/delete/120204/integrated Del: useless -- https://master.php.net/note/delete/120204/useless Del: bad code -- https://master.php.net/note/delete/120204/bad+code Del: spam -- https://master.php.net/note/delete/120204/spam Del: non-english -- https://master.php.net/note/delete/120204/non-english Del: in docs -- https://master.php.net/note/delete/120204/in+docs Del: other reasons-- https://master.php.net/note/delete/120204 Reject -- https://master.php.net/note/reject/120204 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#207462) next »