Re: GOTO operator
| From: | Wez Furlong | Date: | Thu, 29 Jul 2004 02:47:34 +0000 |
| Subject: | Re: GOTO operator | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11602@lists.php.net to get a copy of this message | ||
The patch looks ok to me.
One issue to be worked out is to prevent goto from jumping out of a
try..catch block.
goto is that nice tool that everyone is brainwashed to believe is
evil, instead of simply being taught how to use it properly.
+10 ;)
--Wez.
On Wed, 28 Jul 2004 19:12:40 -0700, Sara Golemon <pollita@php.net> 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
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>