Single Choice
Not Set
QWhat will be the output of the following PHP code?
< ?php
$team = "arsenal";
switch ($team) {
case "manu":
echo "I love man u";
case "arsenal":
echo "I love arsenal";
case "manc":
echo "I love manc"; }
?>
ID: #2362
PHP Basic MCQ
1,721 views
Question Info
#2362Q ID
Not SetDifficulty
PHP Basic MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
If a break statement isn’t present, all subsequent case blocks will execute until a break statement is located.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic