smarty
smarty copied to clipboard
INI directive 'mbstring.func_overload' is deprecated since PHP 7.2
INI directive 'mbstring.func_overload' is deprecated since PHP 7.2,pelase add a new release
I'd like to raise a question against calling mb_internal_encoding() in constructor at all to begin with.
In all cases of using mb_** functions I've found they are used with explicit specification of Smarty::$_CHARSET, and I can see clear disadvantage of such hidden behavior change for an entire application.
Came here to report the same thing:
FILE: /smarty/sysplugins/smarty_internal_smartytemplatecompiler.php
------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------
111 | WARNING | INI directive 'mbstring.func_overload' is deprecated since PHP 7.2
------------------------------------------------------------------------------------
FILE: /smarty/sysplugins/smarty_internal_config_file_compiler.php
------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------
134 | WARNING | INI directive 'mbstring.func_overload' is deprecated since PHP 7.2
------------------------------------------------------------------------------------
As reported by PHP CodeSniffer