PHP 4.0 Bug #5215: define("internal_constant",..) being silently ignored.

From: Date: Sat, 24 Jun 2000 08:52:15 +0000
Subject: PHP 4.0 Bug #5215: define("internal_constant",..) being silently ignored.
Groups: php.dev 
Request: Send a blank email to php-dev+get-22202@lists.php.net to get a copy of this message
From: akul@otamedia.com Operating system: Linux 2.2.13 PHP version: 4.0.0 Release PHP Bug Type: Scripting Engine problem Bug description: define("internal_constant",..) being silently ignored. Try this: <HTML><BODY> <? if(!define("True",-1)) echo '<BR>True is not defined!'; if(!define("False",0)) echo '<BR>False is not defined!'; echo '<BR> True=[' . True . ']'; echo '<BR>False=[' . False . ']'; ?> </BODY></HTML> My output: <HTML><BODY> <BR> True=[1]<BR>False=[] </BODY></HTML> Configure Command './configure' '--with-apache=/usr/src/apache_1.3.9' php.ini: Safe_mode = On and Off the same error_reporting = E_ALL display_errors = On variables_order = "GPCES"

« previous php.dev (#22202) next »