3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $duration = round(5.13); $netUnitPrice = 2250.00; $totalValue = $duration * $netUnitPrice; var_dump($totalValue); // expected 11550
based on MCsqT
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.2.0
float(11250)
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/ipFo8 on line 9
Process exited with code 255.