Pages

PHP Incrementing/Decrementing Operators

PHP Incrementing/Decrementing Operators


Operator Name Description
++ x Pre-increment Increments x by one, then returns x
x ++ Post-increment Returns x, then increments x by one
-- x Pre-decrement Decrements x by one, then returns x
x -- Post-decrement Returns x, then decrements x by one

No comments:

Flag Counter
| Copyright © 2013 Remote Tutor