Re: Re: [RFC] Bug #72811 - Replacing parse_url()
| From: | Yasuo Ohgaki | Date: | Fri, 07 Oct 2016 05:33:19 +0000 |
| Subject: | Re: Re: [RFC] Bug #72811 - Replacing parse_url() | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-96278@lists.php.net to get a copy of this message | ||
Hi David,
On Fri, Oct 7, 2016 at 3:10 AM, David Walker <dave@mudsite.com> wrote:
> * PHP 7.2+
> * Adding parse_uri() as the new RFC compliant parser
> * Deprecating the functionality of parse_url() with notice that parser
> will change to that of parse_uri()
>
> * PHP 8.0
> * Alias parse_url() to be parse_uri()
> * Deprecate parse_url() for the name (or just let it exist as a alias
> forever)
>
> Obviously having two UR* parsers for the long-term would be a poor option,
> this might enable people to migrate to the new name & parser, before PHP 8
> becomes a reality.
+1
Current URL parse code is not maintainable, not standard compliant as well.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net