Decoding a hased string returns an empty array (PHP7.2, Ubuntu 18.04)
Hiroki111 opened this issue · 2 comments
Hiroki111 commented
When I was using PHP 7.1 on Ubuntu 16 (Linux), Hashids::decode()
was working fine.
However, after I started to use PHP 7.2. on Ubuntu 18.04, Hashids::decode()
got an issue.
As you can see, I made a function in which a hased string is going to be decoded with Hashids::decode
.
... but sometimes returns an empty array (5 or 6 times out of 10 times).
Has someone encountered a similar issue?
I've referred to this and this, but has still no luck.
PS
This error hasn't happened in PHPUnit.
roukmoute commented
Could your create a concrete testable example with this problem?
Do you have test without Laravel Facade?
vinkla commented
Closing due to inactivity.