On Wed, 04 Feb 2004, Zeev Suraski wrote: > (a) Failure return value of FETCH_RESOURCE and the default return value - > should we change it to be FALSE? Today it's NULL, which is inconsistent > with most of the functions in PHP which return FALSE on failure. The > downside is that changing it may break scripts that check the return value > with === or !==
Given that there is no consistency in whether NULL or FALSE is returned by PHP functions, I'd go with NULL. It's better semantically. - Andrei -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php