Re: Try Catch
| From: | Stig S. Bakken | Date: | Sat, 21 Jul 2001 22:19:25 +0000 |
| Subject: | Re: Try Catch | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-940@lists.php.net to get a copy of this message | ||
Robert Kelly wrote:
>
> Do we have a Try Catch in PHP?
>
> I'm tired of
> if ( PEAR::isError (
For now you will have to make do with setErrorHandling (either
PEAR::setErrorHandling for _everything_, or $obj->setErrorHandling for
single objects). Then we wait for real exceptions in Zend 2.0 and PHP
5.0.
- Stig