3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = 360 / 11; $y = 0; for ($i = 0; $i < 13; $i++) { echo $i.' '.$y."\n"; $y += $x; }
based on 4OILf
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
0 0 1 32.727272727273 2 65.454545454545 3 98.181818181818 4 130.90909090909 5 163.63636363636 6 196.36363636364 7 229.09090909091 8 261.81818181818 9 294.54545454545 10 327.27272727273 11 360 12 392.72727272727