PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 10;if (0)print "all";ifelseprint "some" error all no output some error all no output some 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"; 0hi how are u hi 0how are u 0hi how are u hi 0how are u ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = "";while ($i) {print "hi";}while($i < 8)$i++;print "hello"; Hi is printed 10 times, hello 7 times Hi is printed once, hello 7 times Hi is printed once, hello 7 times and then hi 2 times Hi is printed 8 times, hello 7 times and then hi 2 times Hi is printed 10 times, hello 7 times Hi is printed once, hello 7 times Hi is printed once, hello 7 times and then hi 2 times Hi is printed 8 times, hello 7 times and then hi 2 times ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($count = 0; $count<3;$count++); {print "hi";break;print "hello";} hellohellohello hi hihihi hihellohihellohihello hellohellohello hi hihihi hihellohihellohihello 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 1234567891011121314...infinitely 0 01234567891011121314...infinitely 1 1234567891011121314...infinitely 0 01234567891011121314...infinitely 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"; error true no output false error true no output false ANSWER DOWNLOAD EXAMIANS APP