Php Switch

Switch statement can shorten the length of regular if...else if ... else term.

Code:

Result: Enter case 1