The if construct allows for conditional execution of code fragments.
if ($a > $b) { echo "a is bigger than b"; }
PHP Manual - Control Structures - If