From:             yiwakiri at st dot rim dot or dot jp
Operating system: FreeBSD
PHP version:      4.3.4
PHP Bug Type:     *General Issues
Bug description:  Predefined constants behavior

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 bug report at http://bugs.php.net/?id=27286&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27286&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27286&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27286&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27286&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27286&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27286&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27286&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27286&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27286&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27286&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27286&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27286&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27286&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27286&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27286&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27286&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27286&r=float

Reply via email to