3v4l.org

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