A
Q. What will be the output of the following PHP code?
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";
}
?>
$team = "arsenal";
switch ($team)
{
case "manu":
echo "I love man u";
case "arsenal":
echo "I love arsenal";
case "manc":
echo "I love manc";
}
?>
- Correct Answer - Option(C)
- Views: 13
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.