3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ts = 1368530391; $mod5minTs = $ts % 300; var_dump($mod5minTs); //1368530100
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.1.0
int(291)
Output for 5.1.0
<br /> <b>Fatal error</b>: fatal flex scanner internal error--end of buffer missed in <b>/in/oXIUu</b> on line <b>7</b><br />
Process exited with code 255.