Hi internals! Bug #75442[1] correctly mentions that the constants FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED are practically unused as of PHP 5.2.1. (Well, they have been used in a single test case, but I have just removed them[2]).
So I suggest to deprecate these constants as of PHP 7.3, and to remove them as of PHP 8.0. Would that require the RFC process? [1] <https://bugs.php.net/bug.php?id=75442> [2] <http://git.php.net/?p=php-src.git;a=commit;h=c4c4056041e26244dd511b0f36d7e3d14b1182c4> -- Christoph M. Becker -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php