3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $count = (float)(44.28); $multiple = (float)(0.36); $calc = $count / $multiple; //$calc = 44.28 / 0.36 = 123 echo ceil($calc)."\n"; if(is_int($calc)) die("is integer"); else die("is not integer");
Output for 4.3.0 - 5.6.26, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
124 is not integer