3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $count = (float)(44.28); $multiple = (float)(0.35); $calc = $count / $multiple; //$calc = 44.28 / 0.36 = 123 echo ceil($calc); if($calc == ceil($calc)) die("is integer"); else die("is not integer");
Output for 4.3.0 - 5.6.38, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.3.0rc4
127is not integer