php compare value of integer and number code example Example: php if less than number <?php if ($a > $b) echo "a is bigger than b"; ?>