Conditions

Example 1: PHP Case
Numbers given are 5 and 10.
5 is less than 10

Example 2: If Statement
The difference is negative when 5 - 10.

Example 3: If-Else Statement
The difference is positive when 525 - 234.
The difference is positive when 768 - 153.

Explanation

Conditions work in the case where it will read one line at a time. Depending on the argument within the if and else if statements, it will either go to the next line if it agrees/passes, or skip to the next statement/line of code outside the statement.