3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // bc* functions can only handle decimal, non scientific numbers var_dump(bcadd('1e0', '0', 0)==1);
Output for 4.3.0 - 5.3.29, 5.5.17, 5.6.0 - 5.6.15, hhvm-3.10.1, 7.1.25 - 7.3.1
bool(false)
Output for 5.4.0 - 5.5.16, 5.5.18 - 5.5.30
Fatal error: Call to undefined function bcadd() in /in/MEq9X on line 3
Process exited with code 255.