Skip to content

Conversation

@capuderg
Copy link

As discussed in PR #6, this would be a potential fix for any corner case.

Currently, we have issue with mb_strtolower not being polyfilled, because the current check only checks if mb_strlen exists.

In WordPress the mb_strlen function is polyfilled before this package can be required, but the mb_strtolower is not (don't know why WP is polyfilling just a few).

With this change, all mb_* functions can be polyfilled separately.

@capuderg capuderg mentioned this pull request Apr 29, 2020
@JanJakes
Copy link
Contributor

JanJakes commented Apr 29, 2020

@capuderg I think you need to submit the PR to this repo: https://github.com/symfony/polyfill

@nicolas-grekas
Copy link
Member

What @JanJakes said :)

@capuderg
Copy link
Author

Sorry about that. Didn't see the comment to open a PR there :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants