]> granicus.if.org Git - php/commitdiff
FILTER_FLAG_(SCHEME|HOST)_REQUIRED are now deprecated
authorChristoph M. Becker <cmbecker69@gmx.de>
Tue, 17 Jul 2018 09:01:44 +0000 (11:01 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 17 Jul 2018 09:01:44 +0000 (11:01 +0200)
UPGRADING

index abd2ca7f20c12dec0de46063be9a837a398b066a..12ce73f73731f3e80571baa150c6370089a4be3c 100644 (file)
--- a/UPGRADING
+++ b/UPGRADING
@@ -265,6 +265,11 @@ Core:
     the declaration is also deprecated.
     (RFC: https://wiki.php.net/rfc/case_insensitive_constant_deprecation)
 
+Filter:
+  . The explicit usage of the constants FILTER_FLAG_SCHEME_REQUIRED and
+    FILTER_FLAG_HOST_REQUIRED is now deprecated; both are implied for
+    FILTER_VALIDATE_URL anyway.
+
 GD:
   . image2wbmp() has been deprecated.