Re: this is the life :)

From: Date: Sun, 11 Jul 2004 17:19:58 +0000
Subject: Re: this is the life :)
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-31849@lists.php.net to get a copy of this message
David Ashwood wrote: <snip />
I haven't looked at PHP5 exceptions much - but you could implement the PEAR:catchAllErrors() in a finally statement: Something like: Try { // Do something } catch (Exception $e) { // Handle normal throw statements } finally { Switch ($e=PEAR::catchAllErrors()) { Case x: Break; Case y: Break; Default: Break; } } </snip>
just a note to say that PHP5 does not implement a finally, just try/catch. - Davey
Just my thoughts on the subject. David david@inspiredthinking.co.uk


« previous php.pear.dev (#31849) next »