3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $count = 44.28; $multiple = 0.31; $calc = $count / $multiple; //$calc = 44.28 / 0.36 = 123 echo $calc.' '. round($calc)."\n"; if($calc == ceil($calc)) die("is integer"); else die("is not integer");
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
142.83870967742 143 is not integer
Output for hhvm-3.10.0

Process exited with code 153.