Á Ánh Dương New member Sep 20, 2021 #1 What will be the output of the following PHP code? Code: <?php do { print "hi"; } while(0); print "hello"; ?> A. infinite loop B. hihello C. hello D. error
What will be the output of the following PHP code? Code: <?php do { print "hi"; } while(0); print "hello"; ?> A. infinite loop B. hihello C. hello D. error
N Nguyễn Thị Thuý New member Sep 20, 2021 #2 Answer: b Explanation: The do while loop executes at least once as the condition is in the while loop. Upvote 0 Downvote
Answer: b Explanation: The do while loop executes at least once as the condition is in the while loop.