PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($count = 1; $count < 20; $count++);print $count; 20 19 12345678910….19 12345678910….1920 20 19 12345678910….19 12345678910….1920 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i = 0; 0; $i++) {print"i";} infinite loop error no output 0 infinite loop error no output 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($count = 1; $count != 20;$count++) {print $count;$count++;} 123…….20 13579…21 1357…19 Infinite 123…….20 13579…21 1357…19 Infinite ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?while() {print "hi";} no output error hi infinite loop no output error hi infinite loop ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x = 1;if ($x == 2)print "hi";else if($x = 2)print $x;elseprint "how are u"; error hi how are u 2 error hi how are u 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "hello";if (strlen($a))print strlen($a);elseprint "hi"; hi error 5 hellolength hi error 5 hellolength ANSWER DOWNLOAD EXAMIANS APP