You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns true is the string contains only 7-bit characters (ASCII 32 through 126, ASCII 10 (LineFeed) and ASCII 13 (Carrage Return).
which i guess would be ($o >= 32 && $o <=126) || $o === 10 || $o === 13
, but if that definition is correct, mb_check_encoding's current behavior is still wrong here.. moving on
Looks like this was broken in 3e7acf9. Our test suite was not comprehensive enough to catch this change in behavior when mbstring was refactored to combine the identify and conversion filters.
Description
edit: warning, there's conflicting definitions of 7bit.. according to https://galprop.stanford.edu/bugs/docs/en/html/api/Bugzilla/Util.html it should be
which i guess would be
($o >= 32 && $o <=126) || $o === 10 || $o === 13
, but if that definition is correct, mb_check_encoding's current behavior is still wrong here.. moving on
The following code:
Resulted in this output:
But I expected this output instead:
as of 8.1.2. probably related to GH #7712
3v4l: https://3v4l.org/HZh8A
PHP Version
PHP 8.1.2
Operating System
No response
The text was updated successfully, but these errors were encountered: