3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $match = 1.98; $mid = 2.2; $per = ($mid * .10); var_dump($match >= ($mid - $per)); echo \PHP_EOL; var_dump(($mid - $per) >= $match); echo \PHP_EOL; var_dump(($mid - $per) <= $match);
based on miAel
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0beta1
bool(false) bool(true) bool(false)