100 does equal 100
The above example is the result of using a condition to determine if two variables are the same number.

You are a junior in college!
The above example is the result of using a switch/case. The code was executed by going through multiple cases until the statement became true.

Conditions are used in PHP to allow users to complete specific actions based on certain conditions. The code will work through each condition until the statement is true and then produce that condition's output. This allows for efficiency so the user does not have to write out multiple codes to complete the same thing.