3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $amount = (12322312.33/1000); echo ($amount - floor($amount)) * 1000 ; //echo ($amount*1000); //echo (12.33 % 1000);
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.1.0
312.33000000066
Output for 5.1.0
<br /> <b>Fatal error</b>: fatal flex scanner internal error--end of buffer missed in <b>/in/d3NbO</b> on line <b>5</b><br />
Process exited with code 255.