<?php $a = 10; echo $a--; // outputs 10, because $a is returned before decrementing echo '<br>'; echo $a; // outputs 9