Re: PHP_Compat, best approach

From: Date: Wed, 26 May 2004 14:26:35 +0000
Subject: Re: PHP_Compat, best approach
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-29699@lists.php.net to get a copy of this message
Hi Aidan Lister! You wrote: > A couple of emails from users got me thinking - should I throw the same > erorrs PHP does when the function is used incorrectly? <snip /> > Rather than simply returning false... > I'm not sure if I should link the manual pages (some people have html errors > disabled in php.ini, etc) or what... > What do you guys think? I guess having the same output PHP would generate is the best way. Another thing would be returning PEAR::Errors, but having the user using the function the same way as PHP would do is the most fomfortable way IMHO. Regards, Toby -- Tobias Schlitt a passion for php http://www.schlitt.info

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