Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96278 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90937 invoked from network); 7 Oct 2016 05:34:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Oct 2016 05:34:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@ohgaki.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@ohgaki.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ohgaki.net designates 180.42.98.130 as permitted sender) X-PHP-List-Original-Sender: yohgaki@ohgaki.net X-Host-Fingerprint: 180.42.98.130 ns1.es-i.jp Received: from [180.42.98.130] ([180.42.98.130:53301] helo=es-i.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0E/D3-23443-1D337F75 for ; Fri, 07 Oct 2016 01:34:13 -0400 Received: (qmail 4808 invoked by uid 89); 7 Oct 2016 05:34:05 -0000 Received: from unknown (HELO mail-qk0-f171.google.com) (yohgaki@ohgaki.net@209.85.220.171) by 0 with ESMTPA; 7 Oct 2016 05:34:05 -0000 Received: by mail-qk0-f171.google.com with SMTP id f128so14991103qkb.1 for ; Thu, 06 Oct 2016 22:34:05 -0700 (PDT) X-Gm-Message-State: AA6/9RnzCwvAUjLZS78pRarfp2PDgT4qDBHfa8v/wt1DBdmAcXVYaKWFXBeN5msBIGueqLbeDlpghD4IWAp4RA== X-Received: by 10.55.215.87 with SMTP id m84mr11970753qki.196.1475818439483; Thu, 06 Oct 2016 22:33:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.84.168 with HTTP; Thu, 6 Oct 2016 22:33:19 -0700 (PDT) In-Reply-To: References: Date: Fri, 7 Oct 2016 14:33:19 +0900 X-Gmail-Original-Message-ID: Message-ID: To: David Walker Cc: "Christoph M. Becker" , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: [RFC] Bug #72811 - Replacing parse_url() From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi David, On Fri, Oct 7, 2016 at 3:10 AM, David Walker 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