Re: Re: PHP exceptions

From: Date: Sun, 12 Nov 2006 17:14:49 +0000
Subject: Re: Re: PHP exceptions
References: 1 2 3 4 5 6  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25784@lists.php.net to get a copy of this message
Lukas Kahwe Smith wrote:
brian wrote:
... and your point is? I was refering to the article, "PEAR-Error in detail", which discusses error management in client code using setErrorHandling(). IMO, exceptions are a better choice for this.
there have been plenty of discussions about the pro's and con's. suffice it to say that its not a black and white issue. however the most important facts are: 1) php4 has no exceptions, and so any package that is php4 compatible benefits greatly from using pear_error 2) php5 only packages in pear are required to use pear_exception
My bad. I wasn't getting you. brian

« previous php.pear.general (#25784) next »