php.net |  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 r2d2.phx3.mindspring.net V4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-05 13:16 UTC] stas@php.net
Manual is propably speaking about PHP 4... Not sure if PHP 3 has it.
 [2002-10-01 13:21 UTC] hholzgra@php.net
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-2020 The PHP Group
All rights reserved.
Last updated: Sat Dec 05 06:01:23 2020 UTC