#50233 [Opn]: This is not enought description.
| From: | bjori@php.net | Date: | Mon, 23 Nov 2009 20:44:14 +0000 |
| Subject: | #50233 [Opn]: This is not enought description. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-144983@lists.php.net to get a copy of this message | ||
ID: 50233
Updated by: bjori@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