“===” compare operator and strcmp() or stricmp() in PHP
Have you ever run into trouble when using strcmp() function and the match found at position 0 ? strcmp() returns either an index of the first match or FALSE, if the match is not found. It is easy to see that FALSE and 0 can sometimes be interpreted by PHP as the same thing (when clearly they are not).
Read more about “===” compare operator and strcmp() or stricmp() in PHP »