if

suggest change

The if construct allows for conditional execution of code fragments.

if ($a > $b) {
  echo "a is bigger than b";
}

PHP Manual - Control Structures - If

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents