3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $tmp = 1370 * 1.15; echo $tmp . "<br />"; // echo 3875.5 $tmp += 0.5; echo $tmp . "<br />"; // echo 3876 $tmp = intval($tmp); echo "tmp= ". $tmp . "<br />"; // echo 3875
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.1.0
1575.5<br />1576<br />tmp= 1575<br />
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/mTBRv on line 7
Process exited with code 255.