if ($a > $b): echo "a greater than b"; elseif ($a == $b): echo "a equals b"; else: echo "a is neither greater than or equal to b"; endif;