PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;for ($i) {print $i;} infinite loop 0 error no output infinite loop 0 error 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 ?for ($count = 0; $count < 3;$count++); {print "hi";continue;print "hello";} hihellohihellohihello hihihi hellohellohello hi hihellohihellohihello hihihi hellohellohello hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code?$x;if ($x)print "hi";elseprint "how are u"; hi how are u no output error hi how are u no output error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i = 0;$i = -1;$i = 1) {print $i;if ($i != 1)break;} infinite loop 1 -1 0 infinite loop 1 -1 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "a";if ($a)print "all";elseprint "some"; all some no output error all some no output error ANSWER DOWNLOAD EXAMIANS APP