#25365 [NEW]: negation of === does not work

From: Date: Tue, 02 Sep 2003 19:03:38 +0000
Subject: #25365 [NEW]: negation of === does not work
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47083@lists.php.net to get a copy of this message
From: daniel dot oger at swing dot be Operating system: win xP Pro PHP version: 4.3.3 PHP Bug Type: Variables related Bug description: negation of === does not work Description: ------------ The === operator does not work if preceeded with ! Reproduce code: --------------- $result=0; // number zero if (!$result === FALSE) echo "ZERO"; else echo "EMPTY"; Expected result: ---------------- ZERO Actual result: -------------- EMPTY -- Edit bug report at http://bugs.php.net/?id=25365&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25365&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25365&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25365&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25365&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25365&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25365&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25365&r=support Expected behavior: http://bugs.php.net/fix.php?id=25365&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25365&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25365&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25365&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25365&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25365&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25365&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25365&r=gnused

« previous php.bugs (#47083) next »