3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(bcadd('5.0E-5', 0, 8)); var_dump(bcadd('0.00005', 0, 8));
Output for 4.3.0 - 7.1.0
string(10) "0.00000000" string(10) "0.00005000"