3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(bcsub('100000000000000000000', '-100000000000000000000')); var_dump(abs('-100000000000000000000'));
Output for 4.3.3 - 7.1.0
string(21) "200000000000000000000" float(1.0E+20)
Output for 4.3.0 - 4.3.2
string(21) "200000000000000000000" float(1.E+20)