Conditions allow PHP to make decisions based on whether certain requirements are true or false. An if/else statement chooses between two possible results. A switch statement uses cases to compare one value with several possible choices and runs the code for the matching case.