We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 452b092 commit 479dcecCopy full SHA for 479dcec
ext/mbstring/mbstring.c
@@ -2124,7 +2124,7 @@ PHP_FUNCTION(mb_stripos)
2124
RETURN_THROWS();
2125
}
2126
2127
- enc = php_mb_get_encoding(from_encoding);
+ enc = php_mb_get_encoding(from_encoding, 4);
2128
if (!enc) {
2129
2130
@@ -2154,7 +2154,7 @@ PHP_FUNCTION(mb_strripos)
2154
2155
2156
2157
2158
2159
2160
0 commit comments