New course! Every coder should learn Generative AI!
Try a free lesson- 1
Increment & decrement
<?php $x=7; $y=$x++; echo $y; ?>
5 Answers
+ 23
7
+ 15
Its 7.... y = 7 and x becomes 8
+ 9
7
+ 3
42
the answer is always 42. or Jesus... 😐
+ 1
7
<?php $x=7; $y=$x++; echo $y; ?>