RE: [PHP] possible bug (string equality to zero)?

From: Date: Thu, 11 Aug 2005 16:49:55 +0000
Subject: RE: [PHP] possible bug (string equality to zero)?
Groups: php.general 
Request: Send a blank email to php-general+get-220446@lists.php.net to get a copy of this message
[snip] Is it a bug that ($var == 0) is always true for any string $var? [/snip] You are comparing a string to an integer.

« previous php.general (#220446) next »