#5984 [Opn->]: "define" function seems to ignore the optional third parameter

From: Date: Tue, 01 Oct 2002 18:21:13 +0000
Subject: #5984 [Opn->]: "define" function seems to ignore the optional third parameter
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21005@lists.php.net to get a copy of this message
ID: 5984 Updated by: hholzgra@php.net Reported By: jweinberger@knology.net -Status: Open +Status: Won\'t fix Bug Type: Misbehaving function Operating System: OSF1 r2d2.phx3.mindspring.net V4 PHP Version: 3.0.16 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2000-08-05 13:16:21] stas@php.net Manual is propably speaking about PHP 4... Not sure if PHP 3 has it. ------------------------------------------------------------------------ [2000-08-05 13:13:46] jweinberger@knology.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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=5984&edit=1

« previous php.bugs (#21005) next »