|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5984 "define" function seems to ignore the optional third parameter
Submitted: 2000-08-05 13:13 UTC Modified: 2002-10-01 13:21 UTC
From: jweinberger at knology dot net Assigned:
Status: Wont fix Package: Misbehaving function
PHP Version: 3.0.16 OS: OSF1 V4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: jweinberger at knology dot net
New email:
PHP Version: OS:


 [2000-08-05 13:13 UTC] jweinberger at knology dot net
Documentation says that when 1 is supplies as the optional third parameter of 
a "define" statement, the constant will be case insensitive. It appears this isn't true,
and the "1" seems to be ignored.

define("NL", "<BR>", 1);

should allow me to use nl but it seems to be undefined.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-05 13:16 UTC]
Manual is propably speaking about PHP 4... Not sure if PHP 3 has it.
 [2002-10-01 13:21 UTC]
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.

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