+ 4
I have a doubt php of a chagenger
why this code outputs 13 and not 12? https://code.sololearn.com/wY7Jx06hhkG1/?ref=app I am new. Thank for your support!
2 Réponses
+ 3
++$x is called pre-increment operator. This means that first, 1 is added to x, and the result is then evaluated in the expression. On the right side x is incremented twice this way so it becomes (6+7)
+ 2
I see, thank!!!