PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "1";switch($a) {case 1:break;print "hi";case 2:print "hello";break;default:print "hi1";} hihi1 hi1 hihellohi1 no output hihi1 hi1 hihellohi1 no output ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x = 0;if ($x == 1)if ($x >= 0)print "true";elseprint "false"; false error no output true false error no output true ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = "";while($i) {print "hi";}print "hello"; hello hihello infinite loop error hello hihello infinite loop error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 10;if (1)print "all";elseprint "some"elseprint "none"; error all none some error all none some ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for(;;) {print "10";} no output error 10 infinite loop no output error 10 infinite loop ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($count = 1; $count != 20;$count++) {print $count;$count++;} 1357…19 123…….20 13579…21 Infinite 1357…19 123…….20 13579…21 Infinite ANSWER DOWNLOAD EXAMIANS APP