PHP 4.0 Bug #4202 Updated: if interprets "0" as "false" even when checking for "numeric value" vs "false"

From: Date: Thu, 20 Apr 2000 18:09:27 +0000
Subject: PHP 4.0 Bug #4202 Updated: if interprets "0" as "false" even when checking for "numeric value" vs "false"
Groups: php.dev 
Request: Send a blank email to php-dev+get-18066@lists.php.net to get a copy of this message
ID: 4202 Updated by: joey Reported By: shh@enovia.com Status: Open Bug Type: Misbehaving function Assigned To: Comments: In PHP4, use === to test 0 == FALSE True (they have the same "value") 0 === FALSE False (they are not the same datatype) Full Bug description available at: http://bugs.php.net/?id=4202

« previous php.dev (#18066) next »