3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(bcadd('2', '1e7',2)); echo sprintf('%.9F','1e2');
Output for 4.3.10 - 4.4.9, 5.0.3 - 7.1.0
string(4) "2.00" 100.000000000
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.2
string(4) "2.00"