PHP Control Structures (Loop) What will be the output of the following PHP code ?do {print "hi";}while(0);print "hello"; hello hihello error infinite loop hello hihello error infinite loop ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;while ($i < 3) {$i++;}print $i; 2 3 1 0 2 3 1 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;do {$i++;}while ($i < 3);print $i; 2 3 1 0 2 3 1 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;while ($i++) {print $i;}print $i; 1 infinite loop 0 01 1 infinite loop 0 01 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"; hihello error hello infinite loop hihello error hello infinite loop ANSWER DOWNLOAD EXAMIANS APP