3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<pre> <?php $a=598; $b=0.08; //消費税 $c=598*0.08; float(); //税込金額が少数切り捨てで表示されるように echo $c; ?> </pre>
based on XYt2O
Output for 7.0.0 - 7.2.0
<pre> Fatal error: Uncaught Error: Call to undefined function float() in /in/VInSp:6 Stack trace: #0 {main} thrown in /in/VInSp on line 6
Process exited with code 255.
Output for 5.3.19 - 5.6.28
<pre> Fatal error: Call to undefined function float() in /in/VInSp on line 6
Process exited with code 255.