3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(round(152.77499999999998,2)); $newPrice = [ 'bagr' => 500, 'chleba' => 500, 'rizek' => 400 ]; $origPrice = [ 'bagr' => 500, 'chleba' => 400, 'rizek' => 500 ]; var_dump($newPrice < $origPrice);
based on jT6Bj
Output for 5.6.0 - 5.6.30, hhvm-3.12.14 - 3.17.3, 7.0.0 - 7.3.0rc3
float(152.78) bool(false)