3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ts = 1368530391; $mod5minTs = floor($ts / 300) * 300; var_dump($mod5minTs); //1368530100