The first conditional will check if the value of the variable
The variable is 5.

The second conditional is done with switch.
Tony's favorite color is blue.

The second conditional can be rewritten like this as well, notice how it takes more lines to write.
Tony's favorite color is blue.

conditionals are used to evaluate if a statement is true. There are two types of conditions. If/else statements which are more traditional in their evaluation and require more lines and characters. PHP also has a switch statement conditional which does the same thing, however, it requires less lines.