Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11603 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98166 invoked by uid 1010); 29 Jul 2004 02:55:47 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 98142 invoked from network); 29 Jul 2004 02:55:46 -0000 Received: from unknown (HELO asuka.prohost.org) (69.196.31.138) by pb1.pair.com with SMTP; 29 Jul 2004 02:55:46 -0000 Received: (qmail 30982 invoked from network); 29 Jul 2004 02:55:46 -0000 Received: from rei.nerv (HELO dummy.com) (rei@192.168.1.1) by asuka.nerv with SMTP; 29 Jul 2004 02:55:46 -0000 Reply-To: ilia@prohost.org To: internals@lists.php.net, Sara Golemon Date: Wed, 28 Jul 2004 22:55:53 -0400 User-Agent: KMail/1.6.1 References: <20040729021337.73894.qmail@pb1.pair.com> In-Reply-To: <20040729021337.73894.qmail@pb1.pair.com> Organization: Prohost.org MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-ID: <200407282255.53797.ilia@prohost.org> Subject: Re: [PHP-DEV] GOTO operator From: ilia@prohost.org (Ilia Alshanetsky) Goto is an extremely useful for parsers and makes life much easier when dealing with complex error handling situations. +1 Ilia On July 28, 2004 10: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