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 ?$a = 1;if (echo $a)print "True";elseprint "False"; true no output error false true no output error false 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 0 1 2 3 4 0 1 2 3 4 5 error 0 1 2 3 0 1 2 3 4 0 1 2 3 4 5 error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 1;if ($a--)print "True";if ($a++)print "False"; false true no output error false true no output error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i = 0; $i % ++$i; $i++) {print"i";} infinite loop 0 error no output infinite loop 0 error no output ANSWER DOWNLOAD EXAMIANS APP
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