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 ?$x = 0;if ($x++)print "hi";elseprint "how are u"; how are u hi no output error how are u 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 == 1)if ($x >= 0)print "true";elseprint "false"; no output true false error no output true false error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = "";while($i) {print "hi";}print "hello"; infinite loop error hihello hello infinite loop error hihello hello ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for(++$i; ++$i; ++$i) {print $i;if ($i == 4)break;} 1 1234 24 134 1 1234 24 134 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"; 5 hellolength error hi 5 hellolength error hi ANSWER DOWNLOAD EXAMIANS APP