3v4l.org

run code in 300+ PHP versions simultaneously
<?php $length = 25; echo ((round($length / 8) * 8) - $length);

preferences:
50.51 ms | 402 KiB | 5 Q