# Remove FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED

- Thread: https://externals.io/message/100981
- Original archive: https://news-web.php.net/php.internals/100981
- Started by Christoph M. Becker on 2017-10-28T16:05:26+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #100981 — Christoph M. Becker — 2017-10-28T16:05:26+00:00

URL: https://externals.io/message/100981#100981

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
