Skip to content

Glossary: PHP Basics

if statement

Also written: if, elseif, else

A statement that runs a block only when its condition is true. `elseif` and `else` are optional extra branches.

Where the book teaches it

Related terms

block=== (strict comparison)