ID: 50233 Updated by: bj...@php.net Reported By: k_radek at yahoo dot pl Status: Open -Bug Type: Documentation problem +Bug Type: Scripting Engine problem Operating System: GNU/Linux PHP Version: 5.2.11 New Comment:
That makes no sense. Reclassified as an engine problem. Previous Comments: ------------------------------------------------------------------------ [2009-11-19 16:00:14] k_radek at yahoo dot pl Description: ------------ Last paremeter defined in a function says that you can define constant with case-insensitive option but says nothing about that it allows you to REDEFINE constant... Reproduce code: --------------- --- >From manual page: function.define#Parameters --- "If set to TRUE, the constant will be defined case-insensitive. The default behavior is case-sensitive; i.e. CONSTANT and Constant represent different values." Expected result: ---------------- "If set to TRUE, the constant will be defined case-insensitive. The default behavior is case-sensitive; i.e. CONSTANT and Constant represent different values. It allows you to redefine constant." Actual result: -------------- "If set to TRUE, the constant will be defined case-insensitive. The default behavior is case-sensitive; i.e. CONSTANT and Constant represent different values." ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50233&edit=1