note 24125 deleted from migration.truefalse by philip

From: Date: Fri, 18 Apr 2008 04:58:04 +0000
Subject: note 24125 deleted from migration.truefalse by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-138436@lists.php.net to get a copy of this message
Note Submitter: oliver at hankeln-online dot de ---- I guess you are indeed wrong. You are right, 'FALSE' is beeing evaluated as a string. But it is compared with a number, so automatic type conversion takes place. 'FALSE' as well as 'FOO' and so on are converted to 0. And (0==0) is obviously true. So the number does matter. Try an other number... Oliver

« previous php.notes (#138436) next »