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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC