PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 10;if (1)print "all";elseprint "some"elseprint "none"; error all none some error all none some 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";} hihellohihellohihello hihihi hellohellohello hi hihellohihellohihello hihihi hellohellohello hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?const $b = 1;switch($b) {case 1:print "hi";break;case 1:print "hello";break;default:print "hi1";} hi hello hihello error hi hello hihello error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?if (0.0)print "hi";elseprint "how are u"; hi error how are u no output hi error how are u no output 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 once, hello 7 times and then hi 2 times Hi is printed once, hello 7 times Hi is printed 10 times, hello 7 times Hi is printed 8 times, hello 7 times and then hi 2 times Hi is printed once, hello 7 times and then hi 2 times Hi is printed once, hello 7 times Hi is printed 10 times, hello 7 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 ($i = 0;$i = -1;$i = 1) {print $i;if ($i != 1)break;} 1 infinite loop -1 0 1 infinite loop -1 0 ANSWER DOWNLOAD EXAMIANS APP