Re: PEAR_Error, ErrorStack, Exception, and compatibility

From: Date: Wed, 23 Jun 2004 05:19:23 +0000
Subject: Re: PEAR_Error, ErrorStack, Exception, and compatibility
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-31133@lists.php.net to get a copy of this message
On Tue, Jun 22, 2004 at 11:31:23PM -0400, Hans Lellelid wrote: > Anytime a function returns a PEAR_Error it should be throwing an > Exception in PHP5. That seems to be abusing exceptpions. Plus I say "BAH!" to having to nest everything inside try/catch. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

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