Increment & decrement | SoloLearn: Learn to code for FREE!

-1

Increment & decrement

<?php $x=7; $y=$x++; echo $y; ?>

me

4/15/2017 10:44:00 AM

Sabbir Ahmed

5 Answers

New Answer

+23

+15

Its 7.... y = 7 and x becomes 8

+9

+3

42 the answer is always 42. or Jesus... ๐Ÿ˜

+1