3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(abs('2000000000000000000000000000') >= bcsub('1000000000000000000000000000', '-1000000000000000000000000000')); var_dump(abs('-2000000000000000000000000000') >= bcsub('1000000000000000000000000000', '-1000000000000000000000000000')); var_dump(abs('2000000000000000000000000001') >= bcsub('1000000000000000000000000000', '-1000000000000000000000000000')); var_dump(abs('-2000000000000000000000000001') >= bcsub('1000000000000000000000000000', '-1000000000000000000000000000')); var_dump(abs('1999999999999999999999999999') >= bcsub('1000000000000000000000000000', '-1000000000000000000000000000')); var_dump(abs('-1999999999999999999999999999') >= bcsub('1000000000000000000000000000', '-1000000000000000000000000000'));
Output for 4.3.0 - 7.1.0
bool(true) bool(true) bool(true) bool(true) bool(true) bool(true)