PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;while(?++$i || --$i) {print $i;} 01234567891011121314...infinitely 0 1 1234567891011121314...infinitely 01234567891011121314...infinitely 0 1 1234567891011121314...infinitely ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = array("hi", "hello", "bye");foreach ($a as $value) {if (count($a) == 2)print $value;} no output hihellobye infinite loop hihello no output hihellobye infinite loop hihello 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 no output hi error how are u no output hi error 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; 12345678910….19 19 12345678910….1920 20 12345678910….19 19 12345678910….1920 20 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?if (print "0")print "hi";elseprint "how are u"; how are u 0how are u 0hi hi how are u 0how are u 0hi hi 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 no output all error some no output all error ANSWER DOWNLOAD EXAMIANS APP