We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 05ec963 + cd78abd commit f616341Copy full SHA for f616341
src/phputf8/utf8.php
@@ -42,7 +42,7 @@
42
* and https://github.com/php/php-src/commit/97df99a6d7d96a886ac143337fecad775907589a
43
* for additional references
44
*/
45
- if ( PHP_VERSION_ID < 80000 && ini_get('mbstring.func_overload') & MB_OVERLOAD_STRING ) {
+ if ( PHP_VERSION_ID < 80000 && ((int) ini_get('mbstring.func_overload')) & MB_OVERLOAD_STRING ) {
46
trigger_error('String functions are overloaded by mbstring',E_USER_ERROR);
47
}
48
mb_internal_encoding('UTF-8');
0 commit comments