3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $time = 132545646; $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: 132545646 after: 132545646