|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20634 define not function as expected
Submitted: 2002-11-25 20:39 UTC Modified: 2002-11-25 20:42 UTC
From: jimsonchang at yahoo dot com Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.2.2 OS: Windows 95
Private report: No CVE-ID: None
 [2002-11-25 20:39 UTC] jimsonchang at yahoo dot com
define('PAPER', 'Upercase Paper');
define('paper', 'Lowercase Paper');

Notice: Constant paper already defined in #myfilepath on line #myline

define('PAPER', 'Upercase Paper', false);
define('paper', 'Lowercase Paper', false);

also return the same notice
the function is define in case sensitive mode
but it failed.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-25 20:42 UTC]
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Aug 18 00:05:44 2022 UTC