Switch Case MCQ Questions and Answers

Home | PHP | Switch Case

We are providing switch case statement question of PHP, where you can learn and practice.

Page: 1/1

1) What will be the output of the following PHP code?

$team = "arsenal";
switch ($team)
{
case "manu": echo "I love man u";
case "arsenal": echo "I love arsenal";
case "manc": echo "I love manc";
}