note 128865 added to control-structures.goto

From: Date: Thu, 07 Sep 2023 20:28:16 +0000
Subject: note 128865 added to control-structures.goto
Groups: php.notes 
Request: Send a blank email to php-notes+get-220826@lists.php.net to get a copy of this message
Example to exit loops: for ($i = 0; $i < 10; $i++) { for ($j = 0; $j < 10; $j++) { if ($condition) { goto exit; } } } exit: echo "Out of the loop."; ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 45.232.32.220) ---- Manual Page -- https://php.net/manual/en/control-structures.goto.php Edit -- https://main.php.net/note/edit/128865 Del: integrated -- https://main.php.net/note/delete/128865/integrated Del: useless -- https://main.php.net/note/delete/128865/useless Del: bad code -- https://main.php.net/note/delete/128865/bad+code Del: spam -- https://main.php.net/note/delete/128865/spam Del: non-english -- https://main.php.net/note/delete/128865/non-english Del: in docs -- https://main.php.net/note/delete/128865/in+docs Del: other reasons-- https://main.php.net/note/delete/128865 Reject -- https://main.php.net/note/reject/128865 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220826) next »