PHP Control Structures (Loop) What will be the output of the following PHP code ?if (print "hi" - 1)print "hello" error no output hihello hi error no output hihello hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x;for ($x = -3; $x < -5; ++$x) {print ++$x;} no output -3-4 infinite loop -3-4-5 no output -3-4 infinite loop -3-4-5 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;} 1 0 01234567891011121314...infinitely 1234567891011121314...infinitely 1 0 01234567891011121314...infinitely 1234567891011121314...infinitely ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "";if ($a)print "all";ifelseprint "some"; some error all no output some error all no output 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 ?$i = "";while($i) {print "hi";}print "hello"; error infinite loop hello hihello error infinite loop hello hihello ANSWER DOWNLOAD EXAMIANS APP