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