Ver originalfunction mod($v1,$v2){ $r = $v1 / $v2; $r = (int)$r; $t = $v1 - ($r * $v2); return $t; } echo mod(4810195456,97);