Bug #18565: Constants TRUE and FALSE undefined

From: Date: Thu, 25 Jul 2002 15:00:05 +0000
Subject: Bug #18565: Constants TRUE and FALSE undefined
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15197@lists.php.net to get a copy of this message
From: paulo@isnet.com.br Operating system: Windows PHP version: 4CVS-2002-07-25 PHP Bug Type: Zend Engine 2 problem Bug description: Constants TRUE and FALSE undefined In PHP 4.3-DEV with Zend2, the constants True and False are undefined, so if you do: $x=0; if ($x!=True) { echo "It must be True then..."; } It evaluates the expression as true, and you see no error unless you increase the error reporting level. -- Edit bug report at http://bugs.php.net/?id=18565&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18565&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18565&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18565&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18565&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18565&r=support Expected behavior: http://bugs.php.net/fix.php?id=18565&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18565&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18565&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18565&r=globals

« previous php.bugs (#15197) next »