Re: PHP 5.1

From: Date: Mon, 06 Jun 2005 12:09:40 +0000
Subject: Re: PHP 5.1
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-16421@lists.php.net to get a copy of this message
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

« previous php.internals (#16421) next »