

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