3v4l.org

run code in 300+ PHP versions simultaneously
<?php $this->count = float(44.28); $multiple = float(0.36); $calc = $this->count / $multiple; $calc = 44.28 / 0.36 = 123; if($calc == round($calc)) { die('is integer'); } else { die('is float); }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.26
Parse error: syntax error, unexpected '=' in /in/WTMW6 on line 8
Process exited with code 255.

preferences:
172.17 ms | 1395 KiB | 63 Q