Possible Duplicate:
What does “===” mean?
i am seeing === often in php statements, but don't know what it mean. e.g if ($pwd === PwdHash($pass,substr($pwd,0,9))). thanks
Possible Duplicate:
What does “===” mean?
i am seeing === often in php statements, but don't know what it mean. e.g if ($pwd === PwdHash($pass,substr($pwd,0,9))). thanks
It tests equality, but unlike == it requires that the two operands be of the same type as well as value.
For instance, "1" == 1 will be true, but "1" === 1 is false because the type is different.
 
    
    php has two types of equal comparison operator == and ===
== check for the equalization but not strict mean it will return true for ('123'==123)
=== is a strict equal operator it will return false for the ('123'===123)
read more about these from here
