Possible Duplicate:
php == vs === operator
Is there a difference between !== and != in PHP?
In PHP, the condition of the if
command contains operator ===
and !==
.
I never use them. So I wonder when will we actually need to call them?
E.g.
if (FALSE != someMethod() ) {
}
if (FALSE !== someMethod() ) {
}
What may go wrong with the 1st if
?