Web >> Development >> PHP >> Syntax >> if >> What is the syntax of an if control structure

What is the syntax of the if control structure <?php if ($a > $b) { echo "a is bigger than b"; } elseif ($a == $b) { echo "a is equal to b"; } else { echo "a is smaller than b"; } ?>