> But reading the various posts here, I changed a little my opinion. I'm in
> favor of a goto operator if the "scope" of its labels is limited to, say,
a
> function/method only.
>
And that's precisely how this implementation of GOTO behaves.  You can only
jump to a label within the same op array. That means:

*) No jumping between functioncs
*) No jumping into/out-of the global scope
*) No jumping from any code in one file to code in another file (even if
it's global scope on both ends)

This is (roughly speaking) the same as C's rules under which you can only
jump within a function.  (Execution within a global scope doesn't really
apply).

-Sara

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to