#29287 [Opn->Csd]: Request: Line labels and goto
| From: | magnus@php.net | Date: | Fri, 27 Oct 2006 01:39:21 +0000 |
| Subject: | #29287 [Opn->Csd]: Request: Line labels and goto | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-104042@lists.php.net to get a copy of this message | ||
ID: 29287
Updated by: magnus@php.net
Reported By: abodeman at yahoo dot com
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: Irrelevant
-PHP Version: Irrelevant
+PHP Version: 6
New Comment:
(Limited) goto was added some time ago to HEAD (PHP 6).
Previous Comments:
------------------------------------------------------------------------
[2004-08-02 22:32:20] pollita@php.net
The original post got a "no" because it's long been an unspoken
position that GOTO has no place in PHP.
As chance would have it, I submitted a goto implementation to the
php.internals list last on the 28th (hadn't seen your feature request
at the time interrestingly enough) which spawned somewhere over 150
posts on the mailing list plus at least a couple blog entries on the
subject.
The implementation is still under development, and the decision to
implmenent it is.... under discussion. Feel free to chime in on
internals@lists.php.net You can read up on the conversation in the
archives at http://news.php.net/php.internals/
------------------------------------------------------------------------
[2004-08-02 21:56:04] jdemaris at cse dot unl dot edu
What is still likely to be added? Labels? Gotos? Both?
Many developers, myself included, would welcome both features. I'm
curious why you were so quick to spout an unqualified "no" to the
original post.
------------------------------------------------------------------------
[2004-08-02 11:42:23] derick@php.net
It's still likely to be added ;-)
------------------------------------------------------------------------
[2004-07-26 19:44:54] jhelzer at cse dot unl dot edu
Whether this is the relevant place or not, to treat goto and labels as
two heads of the same body (as you seem to imply) is silly. I can
understand a reluctance to implement goto, but adding labels for the
break statement make a tremendous amount of sense.
------------------------------------------------------------------------
[2004-07-21 00:00:59] jhelzer at cse dot unl dot edu
I am curious, why not?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/29287
--
Edit this bug report at http://bugs.php.net/?id=29287&edit=1