V Việt Quân New member Sep 20, 2021 #1 What will be the output of the following PHP code? Code: <?php $var1 = 0; $var1 = ++$var1 + 5; echo $var1; ?> A. 5 B. error C. 6 D. 7
What will be the output of the following PHP code? Code: <?php $var1 = 0; $var1 = ++$var1 + 5; echo $var1; ?> A. 5 B. error C. 6 D. 7
P Phạm Quyết New member Sep 20, 2021 #2 Answer: c Explanation: Operator precedence followed. Upvote 0 Downvote