3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ini_set('precision', 8); $c = 0; for($a=0;$a<999999.99;$a+=0.01) { for($b=0;$b<999999.99;$b+=0.01) { // mind I don't need to test comparision (round($a-$b,2) == ($a-$b)) echo ($a + $b).','.($a - $b)." vs "; echo round($a + $b,2).','.round($a - $b,2)."<br/>"; if($c++ > 4000) die; } } ?>

Abusive script

This script was stopped while abusing our resources