Closed artyuum closed 4 years ago
587 → 0E3 25543 → 0E97
In the future, please submit a pull request with a failing test.
587 → 0E3 25543 → 0E97
I don't understand what you said, what is this? Did you execute the snippet above? This is the result?
This is the result?
Yes.
This is weird, array_search() is supposed to find for duplicate encoded IDs and in your reply above 0E3 != 0E97. I'll try to open a PR with a failing test.
Hi, I'm using Hashids 4 on PHP 7.4.8 and I have the "gmp" extension installed. Here is a snippet allowing you to reproduce the collision:
Output