On Fri, 28 Mar 2003, Andi Gutmans wrote:
> At 10:04 AM 3/28/2003 +0000, Wez Furlong wrote:
> >The point is that we don't raise an E_ERROR when you pass the wrong type
> >of parameter to any of the other PHP functions.
>
> Really? I think that some functions which use resources do error out if you
> pass a wrong type (although I'm not quite sure), but there's no reason it
> shouldn't.
None should, the goal was that extensions should at max raise E_WARNING
if there is no real need to abort the script. AFAIK this was implemented
almost everywhere.
Derick
--
"my other box is your windows PC"
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php