PEAR, PHP5 and Exceptions
| From: | Michael Wallner | Date: | Thu, 17 Jun 2004 09:50:52 +0000 |
| Subject: | PEAR, PHP5 and Exceptions | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-30836@lists.php.net to get a copy of this message | ||
Hi,
With the assumption in mind that many PEAR devs fear PHP5s Exceptions
I wrote a tiny package, which let you handle Exceptions just like
PEAR_Errors if you want to. As far as I'm concerened we wouldn't
need that at all if we would just use Exceptions for PHP5 packages.
It's probably missing a lot of functionality, but have a look anyway:
http://dev.iworks.at/PEAR/Exception.phps
(proof of concept)
Regards,
--
Michael - < mike(@)php.net >
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc