$x = 100;
$y = 100;
if ($x == $y) // true if $x is equal to $y
echo "x = y <br />";
$x = 100;
$y = 100.0;
if ($x === $y) // true if $x is equal to $y, and with the same type
echo "x === y <br />";
else
echo "x not equal to y <br />";
$x = 100;
$y = 9;
if ($x != $y) // true if $x is not equal to $y
echo "x != y <br />";
if ($x <> $y) // true if $x is not equal to $y
echo "x <> y <br />";
$x = 100;
$y = 100.0;
if ($x !== $y) // true if $x is not equal to $y, or they are not with the same type
echo "x !== y <br />";
$x = 100;
$y = 7;
if ($x > $y) // true if $x is greater than $y
echo "x > y <br />";
$x = 100;
$y = 180;
if ($x < $y) // true if $x is less than $y
echo "x < y <br />";
$x = 180;
$y = 180;
if ($x >= $y) // true if $x is greater than or equal to $y
echo "x >= y <br />";
if ($x <= $y) // true if $x is less than or equal to $y
echo "x <= y <br />";
/*
run:
x = y
x not equal to y
x != y
x <> y
x !== y
x > y
x < y
x >= y
x <= y
*/