Date: 12/28/99
- Next message: Andi Gutmans: "Re: [PHP-DEV] Re: [PHP4BETA] Re: [PHP-DEV] $string != $array should throw a warning!"
- Previous message: Andi Gutmans: "[PHP-DEV] Re: [PHP4BETA] Re: [PHP-DEV] $string != $array should throw a warning!"
- In reply to: Andi Gutmans: "[PHP-DEV] Re: [PHP4BETA] Re: [PHP-DEV] $string != $array should throw a warning!"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] Re: [PHP4BETA] Re: [PHP-DEV] $string != $array should throw a warning!"
- Reply: Andi Gutmans: "Re: [PHP-DEV] Re: [PHP4BETA] Re: [PHP-DEV] $string != $array should throw a warning!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 28 Dec 1999, Andi Gutmans wrote:
> By the way, what we probably need to do is change var_reset() in
> zend_variables.c to return BOOL(0) and also do a quick search on the whole
> PHP tree. Some modules initialize their return values on failure to
> IS_STRING:empty_string but I guess now BOOL:0 would be more appropriate. We
> should probably change these modules to just call var_reset() in those places.
> Can anyone think of what problems might arise when doing this? Would we
> break any backwards compatibility?
> I don't like the idea of having a false return value sometimes be the
> empty_string and sometimes BOOL(0). It should always be BOOL(0).
Isn't RETURN_FALSE the same as BOOL(0)?
-Andrei
* On the keyboard of life, always keep one finger on the escape key. *
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andi Gutmans: "Re: [PHP-DEV] Re: [PHP4BETA] Re: [PHP-DEV] $string != $array should throw a warning!"
- Previous message: Andi Gutmans: "[PHP-DEV] Re: [PHP4BETA] Re: [PHP-DEV] $string != $array should throw a warning!"
- In reply to: Andi Gutmans: "[PHP-DEV] Re: [PHP4BETA] Re: [PHP-DEV] $string != $array should throw a warning!"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] Re: [PHP4BETA] Re: [PHP-DEV] $string != $array should throw a warning!"
- Reply: Andi Gutmans: "Re: [PHP-DEV] Re: [PHP4BETA] Re: [PHP-DEV] $string != $array should throw a warning!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

