3v4l.org

run code in 150+ 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, hhvm-3.10.0 - 3.12.0, 7.1.0
4.1
Output for 5.6.28, 7.0.14
4.0999999999999996
Output for 5.4.22 - 5.4.45, 5.5.6 - 5.6.25, 7.0.0 - 7.0.10
4.09999999999999964472863