#50233 [NEW]: This is not enought description.

From: Date: Thu, 19 Nov 2009 16:00:14 +0000
Subject: #50233 [NEW]: This is not enought description.
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3247@lists.php.net to get a copy of this message
From:             k_radek at yahoo dot pl
Operating system: GNU/Linux
PHP version:      5.2.11
PHP Bug Type:     Documentation problem
Bug description:  This is not enought description.

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 bug report at http://bugs.php.net/?id=50233&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=50233&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=50233&r=trysnapshot53
Try a snapshot (PHP 6.0):            http://bugs.php.net/fix.php?id=50233&r=trysnapshot60
Fixed in SVN:                        http://bugs.php.net/fix.php?id=50233&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50233&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=50233&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=50233&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=50233&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=50233&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=50233&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=50233&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=50233&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=50233&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=50233&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=50233&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=50233&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=50233&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=50233&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=50233&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=50233&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=50233&r=mysqlcfg



Thread (1 message)

  • k_radek at yahoo dot pl
« previous php.doc.bugs (#3247) next »