note 8952 added to Comparison Operators
| From: | johan at essay dot org | Date: | Sun, 08 Oct 2000 22:57:41 +0000 |
| Subject: | note 8952 added to Comparison Operators | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6221@lists.php.net to get a copy of this message | ||
$cool = 0;
if($cool == "a"){
echo "if(cool) == true\n";
}
Howcome this test actually returns TRUE ?? Isb't this a bug ?
http://www.php.net/manual/language.operators.comparison.php