PHP
Comparison Operators

Arithmetic Operators are used to Perform Arithmetic Operations on Numeric Values Such as addition, subtraction, multiplication and etc.

OperatorNameExampleResult
==Equal$a==$breturn true if both $a and $b are equal
===Identical$a===$breturn true if both $a and $b are equal, and both have same data type
!=Not Equal$a!=$breturn true if $a is not equal to $b
<>Not Equal$a<>$breturn true if $a is not equal to $b
!==Not Identical$a!==$breturn true if $a is not equal to $b, or both are from differnt data types.
>Greater then$a>$bReturn true if $a is greater then $b
>=Greater then or equal$a>=$bReturn true if $a is greater then or equal to $b
<Less then$a<$bReturn true if $a is less then $b
<=Less then or Equal$a<=$bReturn true if $a is less then or equal to $b