3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $b = 1.0001; $a = round($b,2); var_dump($b);var_dump($a-$b);
based on sKULT
Output for 4.3.0 - 7.1.0
float(1.0001) float(-9.9999999999989E-5)