Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11753 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4551 invoked by uid 1010); 31 Jul 2004 03:21:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 4498 invoked from network); 31 Jul 2004 03:21:25 -0000 Received: from unknown (HELO mail.rocketservers.net) (69.93.71.50) by pb1.pair.com with SMTP; 31 Jul 2004 03:21:25 -0000 Received: (qmail 22217 invoked by uid 399); 31 Jul 2004 03:22:23 -0000 Received: from unknown (HELO ?192.168.1.180?) (64.81.12.100) by 50.69-93-71.reverse.theplanet.com with SMTP; 31 Jul 2004 03:22:23 -0000 To: internals@lists.php.net Date: Fri, 30 Jul 2004 21:24:29 -0500 User-Agent: KMail/1.6.1 References: <20040729021337.73894.qmail@pb1.pair.com> In-Reply-To: <20040729021337.73894.qmail@pb1.pair.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-ID: <200407302124.29621.jsjohnst@altdns.net> Subject: Re: [PHP-DEV] GOTO operator From: jsjohnst@altdns.net (Jeremy Johnstone) Personally I would never use it myself, as I know of better ways around it which make more sense to me. But on the other hand if it would help others then more power to yah. I think the argument of user's abusing it is bogus, as clearly mentioned in this thread. There isn't a WTF factor, as almost everyone knows what goto does. So frankly it boils down to this. a.) If it can be added without affecting anything I do then great, do it. b.) If your in the camp who is against using it (like me) then don't, but don't tell others what they can and can't use. c.) Newbies will be newbies no matter how much you hand hold them, so just let them be newbies and hope they grow out of it sooner than later. Just my 2c... -Jeremy On Wednesday 28 July 2004 09:12 pm, Sara Golemon wrote: > I wrote up a patch for implementing gotos in php scripts a couple months > ago as an exercise in working with the Zend engine. I put it aside > assuming noone would actually want it, but Wez and Ilia convinced me to > post it for consideration: > > Description: > http://pecl.org > > Patch: > http://pecl.org/patches/opcode_goto_5.1.0.diff > > Talk amongst yourselves... > > -Sara