3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = 720 / 11; $y = 0; for ($i = 0; $i < 11; $i++) { $z = $y - $i * 60; $min = floor($z); $sec = 60 * ($z-$min); echo "$i:$min:$sec $y\n"; $y += $x; }
based on lq73b
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
0:0:0 0 1:5:27.272727272727 65.454545454545 2:10:54.545454545454 130.90909090909 3:16:21.818181818182 196.36363636364 4:21:49.090909090909 261.81818181818 5:27:16.363636363635 327.27272727273 6:32:43.636363636361 392.72727272727 7:38:10.909090909088 458.18181818182 8:43:38.181818181818 523.63636363636 9:49:5.4545454545473 589.09090909091 10:54:32.727272727277 654.54545454545