Re: Re: Labeled Breaks (not the G-word)

From: Date: Tue, 29 Nov 2005 11:53:55 +0000
Subject: Re: Re: Labeled Breaks (not the G-word)
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-20819@lists.php.net to get a copy of this message
Stanislav Malyshev wrote: > LS>>discussions over the past months it seemed to me that the "goto all the > LS>>way" > LS>>camp was fine with limiting jumping to the current scope (function/method) > > That doesn't do much. That's like saying "access not to all memory but > only memory space of the process". Sure, you can't just jump random places > along all the code - but jumping random places inside same op-array is > not very good still. This might be from implementation/engine point of view, but from user's perspective goto is much more limited. It can only happen within one function. Exception on the other hand might take code execution into totally different file which is why I guess it feels much less restricted that goto. Edin

« previous php.internals (#20819) next »