Possible Duplicate:
How do the equality (== double equals) and identity (=== triple equals) comparison operators differ?
Why this
var_dump(0 == "string");
outputs this
bool(true)
Isn't the context of ==
operator supposed to convert 0
into FALSE
and "string"
into TRUE
according to this set of rules?