Conditions in PHP allow you to execute different code depending on certain factors being true of false. If/else statements can be used to create different outcomes depending on the value of the variable(s) defined in the condition.