[eluser]InsiteFX[/eluser]
Operator Precedence - SEE the PHP Manual.
Code:
<?php
$i = 1;
// notice here I wrapped the increments with
// a beginning and ending parentheses.
// parentheses may be used to force precedence
echo "i=".((++$i)+(++$i)+(++$i)); //result 9
//echo (++$i)+(++$i)+(++$i); //result is 9
?>
InsiteFX