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