if (a == b) ...

From: Date: Thu, 30 Jan 2003 01:36:02 +0000
Subject: if (a == b) ...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-133576@lists.php.net to get a copy of this message
Hi, I have a conditional: if (a == b) a is the number 0, but b is a string "Friday August 22". The condition is evaluating as true, which is not what I want. What am I misunderstanding? Thanks, Stephen

« previous php.general (#133576) next »