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