Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127324 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 8B0D61A00BC for ; Thu, 8 May 2025 17:38:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1746725776; bh=b2zyw8h3bN6+LesSCLSNrfuwNYEsVx+zXhtneaU5+iY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=cNJEEaD2APcyNrdSW4byf3hFkm5e79BXeDQXni0kHM+Zi1h3rXgHATQ2LIhV5zkaf +5mnVYYBui1fGg4zZon8b/+y+xhBSnlrZwPDBlIPn352HvR7lYXCzST3edl0Raj+2p SNrqp0TGZUSB+sGX9BwVHae4NCYJK+6jSjDVmomX4Bzi7mqIG+yjbnCeweNztSfHrU FF4M9aCc0uKIcwjYKFfa/h2wp63UvT+oQYMg51iqu4nwPG14m/jevQngflLggHgdFC jSfS69Xz4Y3dRCjobOEeP4iYcBYKPE1UpqYa6+HgU/i+HP8qJfQr3NrFybcpa91CwS HKKflVIqu2TwA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 08971180080 for ; Thu, 8 May 2025 17:36:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from premium76-5.web-hosting.com (premium76-5.web-hosting.com [162.213.255.108]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 8 May 2025 17:36:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pmjones.io; s=default; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date: In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=b2zyw8h3bN6+LesSCLSNrfuwNYEsVx+zXhtneaU5+iY=; b=8gP7FtpuRX47JwBRPyoAHDgnXu rAu13M06hrNf4eM+5KHmlW+atdDT5wxTwAcDaxVjMkSQ9Jffg9YtUjrddXeVi7jJ/Q5MYUA8yxgis D8XTDZfFKP0IpHeP8PYplH7scL1l9bYcGH9olQDbs6V05pty4xd4YVfIUnnNVU8do1i4SbwR9Q+v0 gBm1QS4vcleBMnUcTL/gk54ZeEZjdPe93xG3LZgZlOm1aHi8TPpqRvrTIbZc5JsxZXtXIP+rPZbqI +YWBJPugUdDxbrEt8CnRMn22Wh7PlxWLE3vM6ohHlu+uMx5nd5KCiyIwG9E9w2kymkx2OM5RGc4GH p+zysFbw==; Received: from 107-223-28-39.lightspeed.nsvltn.sbcglobal.net ([107.223.28.39]:56834 helo=smtpclient.apple) by premium76.web-hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.1) (envelope-from ) id 1uD5CO-00000002PNO-3Mp3; Thu, 08 May 2025 13:38:20 -0400 Content-Type: text/plain; charset=utf-8 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.500.181.1.5\)) Subject: Re: [PHP-DEV] [RFC] [Discussion] Add WHATWG compliant URL parsing API In-Reply-To: Date: Thu, 8 May 2025 12:38:08 -0500 Cc: =?utf-8?B?TcOhdMOpIEtvY3Npcw==?= , PHP Internals List Content-Transfer-Encoding: quoted-printable Message-ID: <554ED466-75BD-4435-B959-A8A8AFB3AF8F@pmjones.io> References: To: "Gina P. Banyard" X-Mailer: Apple Mail (2.3826.500.181.1.5) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - premium76.web-hosting.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - pmjones.io X-Get-Message-Sender-Via: premium76.web-hosting.com: authenticated_id: pmjones@pmjones.io X-Authenticated-Sender: premium76.web-hosting.com: pmjones@pmjones.io X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched From: pmjones@pmjones.io ("Paul M. Jones") Hi all, > On May 7, 2025, at 17:02, Gina P. Banyard wrote: >=20 > On Wednesday, 7 May 2025 at 20:20, Paul M. Jones = wrote: >=20 >> I am on record as wanting very much to see some decent web-centric = objects in core PHP (Request, Response, Uri/Url, etc). >>=20 >> To my chagrin, despite the fact that its goals are laudable, I do not = think this RFC is in a ready state to provide such objects. >> [...] >>=20 >> -- pmj Putting these together, one from the beginning ... > Considering that this RFC was in discussion for over 10 months, and = you only started providing input 2 months ago after there have already = been serious alterations to it _twice_. ... and one from the end: > the opinion of someone that is trying to chime in last minute. Sure, I can see what it looks like: Johnny-come-lately starts making = noise only as things are finishing up. I can say only that (at least from my perspective) there was no sure way = to tell how much longer discussion would go on, or how many more changes = might be considered. Based on other experiences, conscience demanded = that I offer comments as requested on the RFC, as many others had before = me. > I am not sure your "rant" is something that is at all productive. I am glad for the scare quotes; it was a factual analysis, not a rant. = As to whether it is productive, well, one never knows until afterwards. > You are free to vote against it, I might? If I do, it strikes me as constructive (and polite) to have = provided reasons why -- thus my message. > but stalling the work someone has committed just because you don't = think it is ready is not how any of this works. To be fair, just because someone has committed work does not mean the = work should be accepted; but, my individual opinion is of relatively = little weight there. > Looking from the sidelines, you seem to have the opinion that we = should be standardizing existing userland design. Not exactly. My opinion is that the RFC should consider the approaches = taken by the many others that have produced working URI solutions; and, = if those approaches are discarded, then articulate the reasons for doing = so. To ignore them out of hand is insufficiently diligent. > So let's go through your points: >=20 >> - is too broad in scope; >=20 > An RFC author is allowed to choose whatever scope they want. I did not say otherwise; whether the scope chosen is a good one or not = is something else. >> - has an uncertain API. >=20 > Frankly, 90% of the recent uncertainty has seemingly come from you = trying to "rework" the RFC to your own taste. First, the uncertainty I referred to was from the RFC itself, when it = states that the API needs to become "mature enough" and "tested in = practice" until it "settles." That tells me the authors aren't too sure = of it. Then, to be clear, those observations and suggestions were not based on = my "own taste." They are based the decisions of a dozen or so developers = working in the URI space, research into which is summarized at = . >> - admits to standards non-compliance; and, >=20 > Non-compliance with what? I mentioned this in the earlier message, but to reiterate: the = WHATWG-URL getters "don't (entirely) follow the =E2=80=9Cgetter steps=E2=80= =9D that are defined by the specification, but the individual components = are returned directly without any other changes that the =E2=80=9Cgetter = steps=E2=80=9D would otherwise specify." * * * So, those are some of my concerns around the RFC. Take them or leave = them, as you see fit. If the RFC passes, it won't be the worst thing = that that ever happened to PHP, and if it turns out that my concerns = were unfounded, so much the better. -- pmj