Re: Re: PHP exceptions

From: Date: Sun, 12 Nov 2006 08:42:23 +0000
Subject: Re: Re: PHP exceptions
References: 1 2 3 4 5  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25781@lists.php.net to get a copy of this message
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 regards, Lukas

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