3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $time = 13254566846; $rounded = round(($time / 60) * 60); echo 'before: ' . $time; echo "\n"; echo 'after: ' . $rounded;
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
before: 13254566846 after: 13254566846