note 91730 added to control-structures.goto

From: Date: Wed, 24 Jun 2009 10:05:29 +0000
Subject: note 91730 added to control-structures.goto
Groups: php.notes 
Request: Send a blank email to php-notes+get-157336@lists.php.net to get a copy of this message
Regarding the use of PHP's GOTO. If you think you need to use a goto in your code - you are wrong. If you think the above does not apply to you, then you are definitely wrong. It is there for some very specific reasons, and none of those reasons to use it, will apply to your current situation. You will be able to find a simpler, and less problematic way to code your tasks by using the regular control-of-flow statements. ---- Server IP: 208.69.120.35 Probable Submitter: 84.92.124.66 ---- Manual Page -- http://www.php.net/manual/en/control-structures.goto.php Edit -- https://master.php.net/note/edit/91730 Del: integrated -- https://master.php.net/note/delete/91730/integrated Del: useless -- https://master.php.net/note/delete/91730/useless Del: bad code -- https://master.php.net/note/delete/91730/bad+code Del: spam -- https://master.php.net/note/delete/91730/spam Del: non-english -- https://master.php.net/note/delete/91730/non-english Del: in docs -- https://master.php.net/note/delete/91730/in+docs Del: other reasons-- https://master.php.net/note/delete/91730 Reject -- https://master.php.net/note/reject/91730 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#157336) next »