Derick Rethans wrote: > On Mon, 6 Jun 2005, Stanislav Malyshev wrote: >>finally construct should do that, I think. IMO that's the right solution, >>not goto's - and anyway if you allow goto only inside same block, what if >>error condition happens inside other block? Are all your functions flat >>without control blocks? What if exception happens - are you not going to >>clean up then? > > exceptions and goto don't mix in the first place. goto can be used to > emulate exceptions in non-OO code.
PHP also needs a comefrom to make this emulation feature complete ;) Sebastian -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php