Using Expressions with PHP’s Switch Statement
Did you know that you can use expressions together with the switch statement in PHP? Many people are not aware of this. It may not be a trick that you actually need, but it just may come in handy one day.