PHP Control Structures (Loop) What will be the output of the following PHP code ?$x;if ($x == 0)print "hi";elseprint "how are u";print "hello" hihello hi how are uhello no output hihello hi how are uhello no output 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;} infinite loop 123456789101112 1234567891011 12345678910 infinite loop 123456789101112 1234567891011 12345678910 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;while(?++$i || --$i) {print $i;} 1 1234567891011121314...infinitely 0 01234567891011121314...infinitely 1 1234567891011121314...infinitely 0 01234567891011121314...infinitely 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"; hihi no output hi hihellohi hihi no output hi hihellohi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for(;;) {print "10";} no output infinite loop error 10 no output infinite loop error 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 10;if (0)print "all";ifelseprint "some" no output all some error no output all some error ANSWER DOWNLOAD EXAMIANS APP