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_get('mbstring.func_overload') & 1 raises a warning. #2827

Closed
ivantcholakov opened this issue Nov 18, 2022 · 1 comment
Closed

ini_get('mbstring.func_overload') & 1 raises a warning. #2827

ivantcholakov opened this issue Nov 18, 2022 · 1 comment

Comments

@ivantcholakov
Copy link
Contributor

PHP 7.3.33

PHPMailer,php, line 861:

if (ini_get('mbstring.func_overload') & 1) {

if (ini_get('mbstring.func_overload') & 1) {

Raises a warning "A non-numeric value encountered" and contaminates my log-file.

A proposed change:

if ((int) ini_get('mbstring.func_overload') & 1) {
@Synchro
Copy link
Member

Synchro commented Nov 18, 2022

Thanks. That's fixed, will be in next release.

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

2 participants