Also adding parens around the (++$i) doesn't change anything.
In reply to Re^2: Pre vs Post Incrementing variables by moritz in thread Pre vs Post Incrementing variables by SavannahLion