3v4l.org

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