3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump((0.1 + 0.2 - 0.1 - 0.2)); var_dump((0.1 + 0.2 - 0.1 - 0.2) > 0); var_dump(abs(0.1 + 0.2 - 0.1 - 0.2) < 0.0001);
based on BGon9
Output for 5.3.18 - 7.2.0
float(2.7755575615629E-17) bool(true) bool(true)