note 91719 added to control-structures.goto
| From: | Anon dot at osu1 dot php dot net | Date: | Wed, 24 Jun 2009 01:08:25 +0000 |
| Subject: | note 91719 added to control-structures.goto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-157317@lists.php.net to get a copy of this message | ||
Gotos can be fun. For example, you can nest gotos inside switch/case statements that operate on
random values generated from one or more functions or code segments jumped to using the gotos. One
or more gotos can jump back to a point just before the switch/case structure. How about jumping
outside an if structure, with looping, and take out the stack. It's possible to generate very
quickly useless code that is impossible to understand or maintain. Hey- maybe that the secret sauce
in voting machines. Gotos.
----
Server IP: 208.69.120.35
Probable Submitter: 205.209.71.142
----
Manual Page -- http://www.php.net/manual/en/control-structures.goto.php
Edit -- https://master.php.net/note/edit/91719
Del: integrated -- https://master.php.net/note/delete/91719/integrated
Del: useless -- https://master.php.net/note/delete/91719/useless
Del: bad code -- https://master.php.net/note/delete/91719/bad+code
Del: spam -- https://master.php.net/note/delete/91719/spam
Del: non-english -- https://master.php.net/note/delete/91719/non-english
Del: in docs -- https://master.php.net/note/delete/91719/in+docs
Del: other reasons-- https://master.php.net/note/delete/91719
Reject -- https://master.php.net/note/reject/91719
Search -- https://master.php.net/manage/user-notes.php