Conditions

If / Else condition

2 times 3 is greater than or equal to 5.

PHP case

n is greater than 5



Conditional statements allow for the use of logic in PHP. The use of operators and factors such as true, false, null, and isset work well with conditions.
Terms of conditions can be if, elseif, else, and switch/case. These allow for different actions to be performed based on different conditions.