ID: 27286
Updated by: [EMAIL PROTECTED]
Reported By: yiwakiri at st dot rim dot or dot jp
-Status: Open
+Status: Wont fix
Bug Type: *General Issues
Operating System: FreeBSD
PHP Version: 4.3.4
New Comment:
Shortly: Don't do that. :)
Changing this would slow things down too much.
But if you want a) faster scripts b) be sure true/false are true/false
always, use the lowercase true/false constants.
Only TRUE / FALSE can be redefined, true / false not.
Previous Comments:
------------------------------------------------------------------------
[2004-02-17 02:04:50] yiwakiri at st dot rim dot or dot jp
Description:
------------
Hi,
I think that behavior of the following scripts is a bug.
$ php -r "define('TRUE', false); var_dump(TRUE);"
bool(false)
To others FALSE/NULL is behaved similarly.
I want you to carry out a re-definition by the ability
not doing like the usual constant.
I checked folloing version.
PHP 5.0.0RC1-dev (cli) (built: Feb 5 2004 15:18:40)
PHP 4.3.4 (cli) (built: Feb 3 2004 10:01:36)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27286&edit=1