--TEST-- PHP Spec test generated from ./statements/iteration/for.php --FILE-- 10) break; echo "$i\t".($i * $i)."\n"; // output a table of squares ++$i; } // use groups of expressions for ($a = 100, $i = 1; ++$i, $i <= 10; ++$i, $a -= 10) { echo "$i\t$a\n"; } --EXPECT-- 1 1 2 4 3 9 4 16 5 25 6 36 7 49 8 64 9 81 10 100 1 1 2 4 3 9 4 16 5 25 6 36 7 49 8 64 9 81 10 100 1 1 2 4 3 9 4 16 5 25 6 36 7 49 8 64 9 81 10 100 2 100 4 90 6 80 8 70 10 60