Javatpoint Logo
Javatpoint Logo

PHP Switch

PHP switch statement is used to execute one statement from multiple conditions. It works like PHP if-else-if statement.


PHP Switch Flowchart

flowchart of switch statement in php

PHP Switch Example


number is equal to 20
Next TopicPHP For Loop

Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA