ID:               50184
 User updated by:  goatlabs at gmail dot com
 Reported By:      goatlabs at gmail dot com
 Status:           Open
 Bug Type:         *Programming Data Structures
 Operating System: OSX 10.6.2; Debian Linux 5.0.3
 PHP Version:      5.3.0
 New Comment:

Note: the description should read:

define() constants can be modified if originally defined
"case-INsensitive"


Previous Comments:
------------------------------------------------------------------------

[2009-11-16 01:44:49] goatlabs at gmail dot com

Description:
------------
define() constants can be modified if originally defined case-sensitive

Reproduce code:
---------------
define('TEST', 'foo', true);
var_dump(TEST);
define('TEST', 'bar');
var_dump(TEST);





Expected result:
----------------
string(3) "foo"
string(3) "foo"

Actual result:
--------------
string(3) "foo"
string(3) "bar"



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=50184&edit=1

Reply via email to