Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120360 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 42170 invoked from network); 19 May 2023 17:54:51 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 19 May 2023 17:54:51 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DCB28180083 for ; Fri, 19 May 2023 10:54:44 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE, T_SPF_TEMPERROR autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS19151 66.111.4.0/24 X-Spam-Virus: No X-Envelope-From: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 19 May 2023 10:54:44 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id F1C9D5C0144 for ; Fri, 19 May 2023 13:54:43 -0400 (EDT) Received: from imap50 ([10.202.2.100]) by compute4.internal (MEProxy); Fri, 19 May 2023 13:54:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-type:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1684518883; x= 1684605283; bh=SzPqaQFxT6gsTNB/dDJ9DQpXwn4Yxhydo9iBQ+afBSk=; b=b 2PKZY795ylF/DN7U9wC37S/cmWLlLUsZPtnWe1Yr1UAt9QqWoM5oZ9VvdCrdws+V Yrb5ZSOHPhecygMsPK2o7eHurn7B7hR5Lo7Cnz+EFp8ppqetsHDGnefPRqmgwH9O AoIGrjWtazX76QjD0UOXpWK+/GSWqZJtPqmogjkZad44QmI5u4/Q+xH0jcXEipbE unap1tItDFal6i14s7XAnL7Pm/XYc0+Jy8mtA19PffDmdq71MV3Ur2KwKGkj0Qp+ qNyQz2nNbQusI3pCCjmY5w1Z0Vg99Wp8+ksiiaJ/35c5kFe1O3CdEeWxx3QC9hRZ YTlyRfFMwNM4W+Bfnm5JQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1684518883; x=1684605283; bh=SzPqaQFxT6gsT NB/dDJ9DQpXwn4Yxhydo9iBQ+afBSk=; b=C4GVGHIee3y2dWTK6EzOrJ2vbsmb4 iru1j1kM1Cy9pgE4TVdvSV6T5a/Vf4bFOTbxXGeYWQNhrVJMPlkvrE2xgBq21fi8 i+JVlWGw0JDQWuX00O7BJ+fDIHot3bfWsSY/RdJ33sGYwY9OjUt8QU35nAZMFjwM xNzKRzN4X+KmZPXAEHy7bS3p7Br1cdWbqNNzDP8JWEQoamxNPvBgRT0vNY9vbRla DwWJBcadKBeXg9uvQv98hV2R5llND+1a0DOfVeBXk2WpMaBC64tKX5PVGB+q0RI3 8+AagBnzlPQuGWE+H7gZVfF1X2NUaIvEpx4dWvrXpPFc1qFuc/SzYt7ng== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeihedguddulecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfnfgr rhhrhicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtg homheqnecuggftrfgrthhtvghrnhepgeelgfekudeivddvteffueejffdthfejieevhefg ffekudevkedtvdelvddvffefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheplhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtohhm X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id A871C1700093; Fri, 19 May 2023 13:54:43 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-431-g1d6a3ebb56-fm-20230511.001-g1d6a3ebb Mime-Version: 1.0 Message-ID: <78f4df4c-10e3-47e8-89d9-826058e450ea@app.fastmail.com> In-Reply-To: References: <000201d9897f$aa9f9fa0$ffdedee0$@roze.lv> <3DD7832A-5A32-4F21-88F9-FA95B172013D@newclarity.net> Date: Fri, 19 May 2023 17:53:35 +0000 To: "php internals" Content-Type: text/plain Subject: Re: [PHP-DEV] PHP Package for PHP From: larry@garfieldtech.com ("Larry Garfield") On Fri, May 19, 2023, at 2:02 PM, Rowan Tommins wrote: > On Fri, 19 May 2023 at 08:45, Arvids Godjuks > wrote: > >> I think this whole thread can be summarized into a single statement: >> >> "Let's integrate PSR standards into PHP core and ship those interfaces as >> part of the language" >> > > > That's one of the angles that's come up, but there are also some other > interesting ideas, a lot of which are actually independent of each other, > including: > > - implementing simple core functions in PHP rather than C > - using namespaces as a form of versioning > - having a default set of includes which can be over-ridden by user code > > > The one recurring theme I would pick up on though is a general optimism > about how much we could add, and get right. Call me cynical, but I don't > share that optimism. The main reason a lot of the things being discussed > don't already exist is not that PHP only accepts contributions in C, or > that Composer packages aren't installed by default; it's that nobody has > worked out the One True Design. > > Moving the discussion to this list rather than PHP-FIG, or PHPLeague, or > Symfony, etc, won't make that design process any easier. If anything, it > will make it harder - the stakes are higher, and the abilities for rework > and forking far more restricted. I would also note that a One True Design rarely comes from a committee-of-the-whole-who-is-mostly-disengaged. Symfony has a very clear core leadership that can Decide Things(tm), which helps to keep the design consistent. The same is true of Monolog, Guzzle, Ramsey/UUID, PHPUnit, and the rest of the "de facto standard library." In the case of FIG, we moved away from the "everyone in one big pile" approach many years ago toward dedicated, explicitly-named, explicitly-empowered working groups, and it has been a much more successful approach. (As a side note, nominations are open now for the FIG Core Committee and secretary positions, if anyone is interested.) Internals, in its current form, is structurally incapable of the design decisions that would need to be made for a "default versions of PSRs bundled with the language" initiative, regardless of whether it's written in C or PHP. --Larry Garfield