-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notice: iconv_strpos(): Detected an illegal character in input string #5
Conversation
This is breaking, PHP needs to be bumped to >= 8.0
So the story goes like this, was wondering why things aren't being cached, turns out the cache had failed silently. Additionally, the conditional checker was wonky, mb_strlen always seemed to return 0, so it's now just \strlen |
Can you please provide a regression test case? AFAIK, mb_* with US-ASCII encoding were used because str_* functions may be replaced with corresponding functions from mbstring in runtime (https://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.func-overload). I see the feature is removed in PHP 8, so I assume we're safe to get rid of mbstring. |
Will do. Actually, we'll need to upgrade phpunit as well. |
Wow, nice finding. It should be fixed too 😬 |
Another update: So I just had to install Anyhow, I think we should take this path instead and ensure it's stable, because when it fails, it does so silently. I'll create a test for the GzipCompressor, but we should ensure it runs in an environment that does not have Hmpf? |
Ok, I see the issue. From the original title If I get you right, installing mbstring fixes the issue. That's fine for me. I'm planing to release a new php 8+ version with no mbstring requirement. |
|
Please try the new PR: #6 |
This is breaking, PHP needs to be bumped to >= 8.0