A
Q. What will be the output of the following PHP code ?
Code:
<?php
switch($k)
{
case 2:
print "First";
break;
case k:
print "Second";
break;
}
?>
switch($k)
{
case 2:
print "First";
break;
case k:
print "Second";
break;
}
?>
- Correct Answer - Option(A)
- Views: 25
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.