L Linh Chi New member Sep 20, 2021 #1 What will be the output of the following PHP code? Code: <?php $i = 0 while ($i < 3) { $i++; } print $i; ?> A. 2 B. 3 C. 0 D. 1
What will be the output of the following PHP code? Code: <?php $i = 0 while ($i < 3) { $i++; } print $i; ?> A. 2 B. 3 C. 0 D. 1
N Như Quỳnh Lan New member Sep 20, 2021 #2 Answer: b Explanation: The increment happens and then the check happens. Upvote 0 Downvote