

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