- 1

Increment & decrement

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

15th Apr 2017, 10:44 AM
Sabbir Ahmed
5 odpowiedzi
+ 23
7
15th Apr 2017, 10:46 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 15
Its 7.... y = 7 and x becomes 8
15th Apr 2017, 10:50 AM
Nikhil
Nikhil - avatar
+ 9
7
15th Apr 2017, 10:48 AM
Sachin Artani
Sachin Artani - avatar
+ 3
42 the answer is always 42. or Jesus... 😐
15th Apr 2017, 12:17 PM
Mario L.
Mario L. - avatar
+ 1
7
15th Apr 2017, 11:34 AM
ARNAB BISWAS
ARNAB BISWAS - avatar