3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = round(4.05, 1); echo var_export($foo, true);
Output for 4.3.0 - 5.4.21, 5.5.0 - 5.5.5, 7.1.0 - 7.2.0
4.1
Output for 5.6.28, 7.0.14 - 7.0.20
4.0999999999999996
Output for 5.4.22 - 5.4.45, 5.5.6 - 5.6.25, 7.0.0 - 7.0.10
4.09999999999999964472863