Home / MCQ Bank / Computer
Computer Control Structures(Loop In Php) Difficulty: Medium

What will be the output of the following PHP code ? &lt?php $a = "1" ; switch ( $a ) { case 1 : break ; print "hi" ; case 2 : print "hello" ; break ; default : print "hi1" ; } ?>

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following R program? r<-0:10 r[2] Which of the following block information is odd man out? Which of the following is not an internet browser? What will be the output of the following Java program? class main_class { public static void main(String args[]) { int x = 9; if (x == 9) { int x = 8; System.out.println(x); } } } What does size() function returns?