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;} no output hello hi error no output hello hi error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x;if ($x == 0)print "hi";elseprint "how are u";print "hello" no output hihello how are uhello hi no output hihello how are uhello hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;while ($i < 3) {$i++;}print $i; 0 1 2 3 0 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i = 0; $i < 5; $i++) {for(; $i < 5; $i++)print"i";} no output iiiii infinite loop iiiiiiiiiiiiiiiiiiiiiiiii no output iiiii infinite loop iiiiiiiiiiiiiiiiiiiiiiiii ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 10;if (0)print "all";ifelseprint "some" some error no output all some error no output all 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++;} 13579…21 123…….20 1357…19 Infinite 13579…21 123…….20 1357…19 Infinite ANSWER DOWNLOAD EXAMIANS APP