--- title: Conditionals --- ## Conditionals Conditionals in PHP are written using the `if`, `elseif`, `else` syntax. Using conditionals allows you to perform different actions depending on different inputs and values provided to a page at run time. In PHP conditionals are often referred to as control structures. ### If ```PHP Switch Statement. #### More Information: * php.net control structures manual