Bug #5984: "define" function seems to ignore the optional third parameter

From: Date: Sat, 05 Aug 2000 11:13:46 +0000
Subject: Bug #5984: "define" function seems to ignore the optional third parameter
Groups: php.dev 
Request: Send a blank email to php-dev+get-27824@lists.php.net to get a copy of this message
From: jweinberger@knology.net Operating system: OSF1 r2d2.phx3.mindspring.net V4.0 1229 alpha PHP version: 3.0.16 PHP Bug Type: Misbehaving function Bug description: "define" function seems to ignore the optional third parameter 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.

« previous php.dev (#27824) next »