# given three equal variables if (($a == $b ) == ($b == $c)) { print "yes!!!\n"; }