This is PHP Functions



You are an adult.
Today is the start of the work week.

Explanation

Conditions let PHP make decisions based on whether something is true or false. An if/else statement checks a condition and runs one block of code if it's true, and a different block if it's false.
A switch case works a bit differently by comparing one variable against several possible values, running the matching case, or a default option if nothing matches.