PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i = 0; 0; $i++) {print"i";} infinite loop 0 no output error infinite loop 0 no output error 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"; error hihello hello infinite loop error hihello hello infinite loop ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($x =1; $x < 10;++$x) {print "*t";} ********* infinite loop *********** ********** ********* infinite loop *********** ********** ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "1";$a = 1;$b = 1;switch($a) {case $a * $b:print "hi";break;case $a / $b:print "hello";break;default:print "hi1";} hi1 hihello hi hihellohi1 hi1 hihello hi hihellohi1 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?switch($b) {case 2:print "hello";break;case b:print "hi";break;} error hello hi no output error hello hi no output ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($count = 0; $count < 3;$count++); {print "hi";continue;print "hello";} hellohellohello hihellohihellohihello hihihi hi hellohellohello hihellohihellohihello hihihi hi ANSWER DOWNLOAD EXAMIANS APP