3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = 7; var_dump(round($result/2, 0, PHP_ROUND_HALF_DOWN));

preferences:
54.58 ms | 402 KiB | 5 Q