Re: RC1
| From: | Sara Golemon | Date: | Wed, 04 Feb 2004 19:39:45 +0000 |
| Subject: | Re: RC1 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7567@lists.php.net to get a copy of this message | ||
> > (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 !==
> >
>
> Should be NULL, not a boolean FALSE, IMNHO (*). False indicates the
> given operation was not succesful but everything supplied was in valid
> boundaries. At least that's how I see it, but PHP is across the board
> inconsistent in this area, so I see no reason to break BC.
>
-1 for the reasons stated by Sterling above.
-Sara