3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var1=1682.19; $var2=556.60; $balance=$var1-$var2; echo $balance; // result is -555.6
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.2.0
1125.59
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/hEqgK on line 8
Process exited with code 255.