3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php bcscale(2); var_dump(bcmod('4', '3.5'));
Output for 7.2.0 - 7.3.3
string(4) "0.50"
Output for 4.3.0 - 5.3.29, 5.5.0 - 5.6.40, 7.0.0 - 7.1.27
string(1) "1"
Output for hhvm-3.10.1 - 3.22.0
string(3) "0.5"
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function bcscale() in /in/cvvoa on line 3
Process exited with code 255.