PHP Switch Case Statement

The switch-case is same like if-elseif-else statement, The switch statement is used to perform different actions based on different conditions.

Code :