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

PHPMailer filter_var deprecation warning in PHP 7.3 #1548

Closed
zieru opened this Issue Sep 24, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@zieru
Copy link

zieru commented Sep 24, 2018

filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated

@wikt0r

This comment has been minimized.

Copy link

wikt0r commented Sep 25, 2018

in PHPMailer-6.0.5/src/PHPMailer.php on line 3599

        if (filter_var('http://' . $host, FILTER_VALIDATE_URL, FILTER_FLAG_HOST_REQUIRED)) {
            //Is it a syntactically valid hostname?
            return true;
        }
@Synchro

This comment has been minimized.

Copy link
Member

Synchro commented Sep 25, 2018

Deprecated != broken. PRs welcome.

@Synchro Synchro changed the title PHPMailer broken on php7.3 PHPMailer filter_var deprecation warning in PHP 7.3 Sep 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment