PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;do {$i++;}while ($i < 3);print $i; 1 0 2 3 1 0 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";} infinite loop iiiii no output iiiiiiiiiiiiiiiiiiiiiiiii infinite loop iiiii no output iiiiiiiiiiiiiiiiiiiiiiiii ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "2";switch ($a) {case 1:print "hi";case 2:print "hello";break;default:print "hi1";} hihi1 hihellohi1 hello hi1 hihi1 hihellohi1 hello hi1 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 Infinite 13579…21 1357…19 123…….20 Infinite 13579…21 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x = 1;if ($x = $x& 0)print $x;elseprint "how are u"; 1 0 error how are u 1 0 error how are u ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for(++$i; ++$i; ++$i) {print $i;if ($i == 4)break;} 134 24 1 1234 134 24 1 1234 ANSWER DOWNLOAD EXAMIANS APP