Re: RC1
| From: | Andrei Zmievski | Date: | Wed, 04 Feb 2004 21:37:14 +0000 |
| Subject: | Re: RC1 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7584@lists.php.net to get a copy of this message | ||
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