A small PHP library to generate YouTube-like ids from numbers. Use it when you don't want to expose your database ids to the user.
5.29k
stars
417
forks
source link
Github Actions produces gmp_mod(): Argument #1 ($num1) must be of type GMP|string|int error #200
Closed
sts-ryan-holton closed 7 months ago
When running my Laravel test suite via Github Actions I get the following error:
Also see my workflow file:
What am I missing? My test calls Hashids like:
(new Hashids('', 7))->encode(rand(11111111, 99999999).''.rand(111111, 999999))