

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following PHP code ? <?php $a = "1"; switch($a) { case 1: break; print "hi"; case 2: print "hello"; break; default: print "hi1"; } ?> |
A. | Hihellohi1 |
B. | No output |
C. | Hihi1 |
D. | Hi1 |
Answer» C. Hihi1 | |