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