<?php $length = 1; $result = ((round($length / 8) * 8) - $length); echo $result > 0 ? $result : 8 - $result;
You have javascript disabled. You will not be able to edit any code.