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.4.45, 5.6.0 - 5.6.30, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.2.0
bool(false)
Output for 5.5.0 - 5.5.38
Fatal error: Call to undefined function bcadd() in /in/MEq9X on line 3
Process exited with code 255.