3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ini_set("precision", 24); var_dump(1000000.0 + 0.001);
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0rc3
float(1000000.00100000004749745)
Output for hhvm-3.15.4
float(1000000.001)