3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(bcsub(bcadd(0.1, 0.2), 0.3) == -0);
based on jgFSb
Output for 5.3.19 - 5.4.45, 5.6.0 - 7.3.0
bool(true)
Output for 5.5.0 - 5.5.38
Fatal error: Call to undefined function bcsub() in /in/LBO58 on line 3
Process exited with code 255.