php modulo return wrong result

php

Solution

Use fmod:

echo fmod(8911076856, 11);

Problem

I got problem with this code: ``` if (!empty($_GET[ "lic" ])) $lic = $_GET[ "lic" ]; else $e = true; echo ($lic % 11); ``` When I post `8911076856` it echoes `1`, but it should be `0`.

Original source