Re: Re: question about Warnings RFC
| From: | David Costa | Date: | Tue, 24 Aug 2004 17:34:33 +0000 |
| Subject: | Re: Re: question about Warnings RFC | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-32905@lists.php.net to get a copy of this message | ||
On Aug 24, 2004, at 7:01 PM, Hans L wrote:
Greg Beaver wrote:I just committed on CVS one of my new packages (DB_Sqlite_Tools) which uses exceptions for error handling. Just for my own curiosity, how would I go in using PEAR_ErrorStack in lieu of the Exception class which is part of the package now ? I tried to find some tutorials but I probably visit the wrong place ( http://www.chiaraquartet.net/Error_Stack/Error_Stack/ ) sorry for that, is there a new link with a simple tutorial ? :D I haven't used Pear_ErrorStack and perhaps it could be a good idea to leave an alternative to the developers (and group members) which are not totally positive on the PEAR_Exception. Is there any simple way to make Error_Strack working on PHP 5 under E_STRICT? (e.g. porting it, I could help if necessary). Anyone sufficiently familiar with Error_Stack could point me to the docs or some examples on how this will work in a PHP 5 package (e.g. my new package :D). Thanks a lot. David CostaHi all, I have a nice, simple question after all the complex wrangling over exceptions: Couldn't we simply phrase an RFC as follows: "For all warnings, use PEAR_ErrorStack in php5"