3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = round(0.05, 1); echo var_export($foo, true);
Output for 4.3.0 - 5.4.21, 7.1.0 - 7.2.0
0.1
Output for 5.4.22 - 5.4.25, 5.6.28, 7.0.14 - 7.0.20
0.10000000000000001
Output for 5.4.38 - 5.6.21, 7.0.0 - 7.0.6
0.100000000000000005551115
Output for 5.4.26 - 5.4.37
0.1000000000000000055511151231257827021181583404541015625