Re: is it allowed to override default constants(TRUE,FALSE)? see bug 5217

From: Date: Wed, 26 Jul 2000 04:55:36 +0000
Subject: Re: is it allowed to override default constants(TRUE,FALSE)? see bug 5217
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-26202@lists.php.net to get a copy of this message
At 02:45 26/07/2000, waldschrott wrote:
The user in bug 5217 tries to override TRUE and FALSE using define(). Is this allowed? Should it be allowed?
It shouldn't be allowed.
I get the same results, but I don´t think it´s a bug, BTW -1 is treated as FALSE value normally...
-1 is not treated as false, only 0 is treaded as false. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.dev (#26202) next »