3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo floor(5); echo floor(4.99); echo float(4.99);
based on cUQG2
Output for 7.0.0 - 7.2.0
54 Fatal error: Uncaught Error: Call to undefined function float() in /in/k1Qe5:5 Stack trace: #0 {main} thrown in /in/k1Qe5 on line 5
Process exited with code 255.
Output for 5.3.22 - 5.6.28
54 Fatal error: Call to undefined function float() in /in/k1Qe5 on line 5
Process exited with code 255.