Re: PEAR's Error Handling and PHP5

From: Date: Thu, 08 Jun 2006 06:42:28 +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-42856@lists.php.net to get a copy of this message
Justin Patrin wrote:
On 6/7/06, Pierre <pierre.php@gmail.com> wrote:
There is indeed a place for PEAR_Error (and derived) in php5, as well as there is a place for exceptions in pear. One does not make the other obsolete.
I'm sorry, Pierre, but I think you've lost the point. The point of this thread is to standardize PEAR's error handling in PHP5. You have once again given no technical reasons for the use or non-use of Exceptions, just an opinion that they shouldn't be used. Please reply to my pros and cons, write up your own list, or give some other technical reasons why one or the other should be used.
Uh? From what I read from Pierre he says "There is indeed a place for PEAR_Error (and derived) in php5, as well as there is a place for exceptions in pear." Doesn't that say that he doesn't really care about what is used and that it is up to the developer? I do have to agree with him on that in that case. regards, Derick

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