PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;do {$i++;}while ($i < 3);print $i; 3 0 2 1 3 0 2 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?if (print "hi" - 1)print "hello" hi error hihello no output hi error hihello no output ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x = 10;$y = 20;if ($x > $y && 1||1)print "hi";elseprint "how are u"; no output hi how are u error no output hi how are u error 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 ($j = $i; $j > 0; $i--)print $i;} no output infinite loop 0 1 2 3 4 5 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0 1 2 3 4 5 0 1 2 3 4 5 no output infinite loop 0 1 2 3 4 5 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0 1 2 3 4 5 0 1 2 3 4 5 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 1:print "hi";break;} no output hi error hello no output hi error hello ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "";if ($a)print "all";ifelseprint "some"; all no output some error all no output some error ANSWER DOWNLOAD EXAMIANS APP