in reply to $a++ allowed by $a-- is not ! why?
jeffa and broquaint have provided you with the theory.
Here's some practical fun with the auto-increment operator. Enjoy!