In the past I've always used $i++, all the books have used this, every script I've seen and everyone I know who programs uses this.
However, for some reason this guy at Uni likes ++i (Java), obviously ++$i for PHP.
And for the first time ever I've seen it used on php.net.
Now, as far as I know the difference is very very small and basically never makes a difference, so who out there uses $i++, and who uses ++$i?
IS there a reason why I should ALWAYS use ++$i (other than the auto marking system doesn't give me full marks if I use the other way?)
Thanks!