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 19:25:59 +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-18078@lists.php.net to get a copy of this message
ID: 4202 Updated by: joey Reported By: shh@enovia.com Status: Closed Bug Type: Documentation problem Assigned To: Comments: I will, as soon as I can get a straight answer from the Core guys whether this is intentional or a bug...there is some discussion on whether the string 0 should be false or not. Thanks for the report! Full Bug description available at: http://bugs.php.net/?id=4202

« previous php.dev (#18078) next »