Re: GOTO operator
| From: | Sara Golemon | Date: | Thu, 29 Jul 2004 02:59:26 +0000 |
| Subject: | Re: GOTO operator | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11604@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.
>
After you mentioned that in IRC I tried out several test cases each of which
behaved well, but I of course could have missed some possible combination...
Btw, goto labels are considered op_array local, so you can't jump out of one
function into another function, or in/out of the main scope.
-Sara