PHP » Operators » !==

Syntax:
expression1 !== expression2
expression1
An expression.
expression2
Another expression to compare it to.

Not identical to.

This comparison operator returns TRUE if the first expression is not identical to the second. The two expressions or variables can differ in either value or type.

Examples

Code:
<?php

if ("5" !== 5) {
   print "\"5\" is not identical to 5";
}

?>
Output:
"5" is not identical to 5
Explanation:

The two expressions differ in type and are therefore not identical.