PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($x = 0; $x <= 10; print ++$x) {print ++$x;} 123456789101112 12345678910 1234567891011 infinite loop 123456789101112 12345678910 1234567891011 infinite loop ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?if (-100)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 ?$a = 1;if (print $a)print "True";elseprint "False"; no output true error false no output true error false ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "hello";if ($a.length)print $a.length;elseprint "hi"; 5 hellolength hi error 5 hellolength hi error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for(;;) {print "10";} infinite loop no output 10 error infinite loop no output 10 error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;for ($i) {print $i;} no output error infinite loop 0 no output error infinite loop 0 ANSWER DOWNLOAD EXAMIANS APP