3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_export(0.1 + 0.2); var_export(0.3);
based on 6h8IT
Output for 7.1.0
0.300000000000000040.3
Output for 5.6.28, 7.0.14
0.300000000000000040.29999999999999999
Output for 5.4.22 - 5.6.21, 7.0.0 - 7.0.6
0.3000000000000000444089210.29999999999999998889777
Output for 4.3.0 - 5.4.21, hhvm-3.10.0 - 3.12.0
0.30.3