3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo var_export(1e10) . "\n"; echo var_export(6.66, true) . "\n"; echo var_export(6.0, true) . "\n";
Output for 7.1.0 - 7.3.0rc6
10000000000.0 6.66 6.0
Output for 7.0.14 - 7.0.20
10000000000.0 6.6600000000000001 6.0
Output for 7.0.2 - 7.0.10
10000000000.0 6.66000000000000014210855 6.0
Output for 5.4.22 - 5.4.45, 5.5.6 - 5.6.25, 7.0.0 - 7.0.1
10000000000 6.66000000000000014210855 6
Output for 5.6.28
10000000000 6.6600000000000001 6
Output for 5.2.2 - 5.4.21, 5.5.0 - 5.5.5
10000000000 6.66 6
Output for 4.3.3 - 5.2.1
1.0E+10 6.66 6
Output for 4.3.0 - 4.3.2
1.E+10 6.66 6