Re: PEAR's Error Handling and PHP5

From: Date: Wed, 07 Jun 2006 21:07:53 +0000
Subject: Re: PEAR's Error Handling and PHP5
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-42843@lists.php.net to get a copy of this message
I'm only going to chime in with one glaring point that I'm not sure anyone has made in this argument (I haven't been following closely) and that is that you can't return a PEAR_Error from a constructor. Though, I do believe you can force PEAR_Error to throw an exception. That's another point, now that I think about it, you can make PEAR_Error throw Exceptions last time I checked. --Joe

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