Re: Re: RFC::Error Handling Guidelines for PHP5 packages
| From: | Sergio Carvalho | Date: | Tue, 24 Aug 2004 13:47:32 +0000 |
| Subject: | Re: Re: RFC::Error Handling Guidelines for PHP5 packages | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-32881@lists.php.net to get a copy of this message | ||
Joshua Eichorn wrote:
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
I think this whole thread could be addressed, by adding examples/code for integrating php4 code into php5. I don't see any movement going the other way, but I know in my framework at work thats the transition were doing right now, and will have php4 code running with php5 code for quite awhile. In our case were just merging things at a global error handler, but in pear im guessing people will want to know howto throw a pear_error as an exception, and maybe even expect to see a helper method for doing this, Pear_exception_compat::createExceptionFromPearError or something similar. -joshI think the problems run deeper than that. On the other hand, your request is a valid one. I'll take some time next weekend to go through PEAR_Exception code, and add the various features requested throughout the thread, and submit the changes to Thomas V. Cox. Cheers, Sérgio
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc