Request #65081 - implemeting mb_scrub by masakielastic · Pull Request #1099 · php/php-src (original) (raw)
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 andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
This pull request introduces mb_scrub which replace ill-formed byte sequence with subsitute character.
var_dump( "?" === mb_scrub("\x80") );
Comment on behalf of yohgaki at php.net:
Merged. Thank you for PR!
fabpot added a commit to symfony/polyfill that referenced this pull request
…grekas)
This PR was merged into the 1.2-dev branch.
Discussion
Polyfills for mb_chr(), mb_ord() and mb_scrub()
As implemented in upcoming php 7.2, see:
Commits
624adfc Polyfills for mb_chr(), mb_ord() and mb_scrub()
symfony-splitter pushed a commit to symfony/polyfill-mbstring that referenced this pull request
…grekas)
This PR was merged into the 1.2-dev branch.
Discussion
Polyfills for mb_chr(), mb_ord() and mb_scrub()
As implemented in upcoming php 7.2, see:
Commits
624adfc Polyfills for mb_chr(), mb_ord() and mb_scrub()
jrfnl mentioned this pull request