N Nam Phong New member Sep 20, 2021 #1 What will be the output of the following PHP code? Code: <?php $i = 0 do { $i++; } while ($i < 3); print $i; ?> A. 2 B. 3 C. 0 D. 1
What will be the output of the following PHP code? Code: <?php $i = 0 do { $i++; } while ($i < 3); print $i; ?> A. 2 B. 3 C. 0 D. 1
M Mỹ An New member Sep 20, 2021 #2 Answer: b Explanation: The increment happens and then the check happens. Upvote 0 Downvote