PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 1;if ($a--)print "True";if ($a++)print "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 ?$x;if ($x == 0)print "hi";elseprint "how are u";print "hello" hi no output hihello how are uhello hi no output hihello how are uhello ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i = 0;$i = -1;$i = 1) {print $i;if ($i != 1)break;} 0 infinite loop -1 1 0 infinite loop -1 1 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 ?$x = 10;$y = 20;if ($x > $y + $y != 3)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 ?for ($x = -1; $x < 10;--$x) {print $x;} infinite loop 1234567891011 12345678910 123456789101112 infinite loop 1234567891011 12345678910 123456789101112 ANSWER DOWNLOAD EXAMIANS APP