Re: Re: exceptions, errors, and documentation
| From: | Daniel Convissor | Date: | Tue, 08 Jun 2004 15:46:32 +0000 |
| Subject: | Re: Re: exceptions, errors, and documentation | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30180@lists.php.net to get a copy of this message | ||
On Tue, Jun 08, 2004 at 05:26:25PM +0200, Michael Wallner wrote:
> * @return mixed Returns true on success or PEAR_Error on failure.
The data type should be the one expected under normal circumstances. So,
in this case "bool." Errors should be a rare occurance.
--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