note 91436 added to control-structures.goto
| From: | ImmortalSoFar at osu1 dot php dot net | Date: | Wed, 10 Jun 2009 07:24:01 +0000 |
| Subject: | note 91436 added to control-structures.goto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-156714@lists.php.net to get a copy of this message | ||
Structured statements should be an aid, not a bind. Under certain circumstances, goto is fine. But
let's not have Cobol's "altered goto":
Label1:
Goto somewhere.
...
Alter Label1 to go to SomewhereElse.
----
Server IP: 69.147.83.197
Probable Submitter: 71.113.25.249
----
Manual Page -- http://www.php.net/manual/en/control-structures.goto.php
Edit -- https://master.php.net/note/edit/91436
Del: integrated -- https://master.php.net/note/delete/91436/integrated
Del: useless -- https://master.php.net/note/delete/91436/useless
Del: bad code -- https://master.php.net/note/delete/91436/bad+code
Del: spam -- https://master.php.net/note/delete/91436/spam
Del: non-english -- https://master.php.net/note/delete/91436/non-english
Del: in docs -- https://master.php.net/note/delete/91436/in+docs
Del: other reasons-- https://master.php.net/note/delete/91436
Reject -- https://master.php.net/note/reject/91436
Search -- https://master.php.net/manage/user-notes.php