'!==' operator checks the unequality of two objects with a type check. It does not converts the datatype and makes a typed check.For example 1 !== '1' will results true.
'==!' operator is combination of two operators and can be written as == (!operands).
Following example, shows usage of '!==' vs '==!' operators.
<!DOCTYPE html> <html> <head> <title>PHP Example</title> </head> <body> <?php $x = true; $y = false; echo '$x !== operator $y = '; // $x not equals to $y // so true returned var_dump($x !== $y); print("<br/>"); echo '$x ==! operator $y = '; // !$y is true which is same as $x // so true returned var_dump($x ==! $y); ?> </body> </html>
$x !== operator $y = bool(true) $x ==! operator $y = bool(true)