Re: Re: Labeled Breaks (not the G-word)
| From: | Stanislav Malyshev | Date: | Tue, 29 Nov 2005 12:11:29 +0000 |
| Subject: | Re: Re: Labeled Breaks (not the G-word) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20817@lists.php.net to get a copy of this message | ||
LS>>How is that different from "goto"?
I start to suspect you just skip what I am writing. Didn't I explain that
exception does not allow to jump to random points and goto does?
LS>>And if you can jump through 80% if your code via an exception while you
LS>>unwind the stack it might be ordered but you tell me that you know whats
LS>>going on. For all intends and purposes it will be just as random, with the
Precentage of code that lies between throw point and catch point has
nothing to do with anything. The structure of the code - that you
always know which block encloses the code with exception potential and which code
would handle the exception if it arises - has everything to do with it.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115