Skip to content
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 and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INI directive 'mbstring.func_overload' is deprecated since PHP 7.2 #480

Closed
oasfuyou opened this issue Aug 24, 2018 · 2 comments
Closed

INI directive 'mbstring.func_overload' is deprecated since PHP 7.2 #480

oasfuyou opened this issue Aug 24, 2018 · 2 comments
Milestone

Comments

@oasfuyou
Copy link

INI directive 'mbstring.func_overload' is deprecated since PHP 7.2,pelase add a new release

@AnrDaemon
Copy link
Contributor

AnrDaemon commented May 4, 2020

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.

@RobThree
Copy link

RobThree commented Dec 2, 2021

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

wisskid added a commit that referenced this issue Jan 31, 2023
… deprecated `mbstring.func_overload` ini directive.

Fixes #480.
@wisskid wisskid added this to the 5.0 milestone Jan 31, 2023
@wisskid wisskid closed this as completed in 8fd949a Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants