Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120332 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 38010 invoked from network); 17 May 2023 21:52:51 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 May 2023 21:52:51 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A7EA018050B for ; Wed, 17 May 2023 14:52:50 -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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-oi1-f182.google.com (mail-oi1-f182.google.com [209.85.167.182]) (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 ; Wed, 17 May 2023 14:52:50 -0700 (PDT) Received: by mail-oi1-f182.google.com with SMTP id 5614622812f47-395f4ecb6b9so366156b6e.0 for ; Wed, 17 May 2023 14:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684360369; x=1686952369; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=fYsBIL6pQrLiZKTd2tHL2HGxZZDmYDwXGuVFT0xmyH8=; b=VkoblqDsbvaQeljn0AAvZk5P7UrMURBMTnxu/lm8DCatJ0ojGwbfd3RA8DvkePZkzW kHQ+0kCsXVZIfU8r66YqfTEy0u6+99VAEQrqGHBPMNUrzawxrXPTybr5Cgw/KHMg84D0 zwFAgzBO/B1zwjWYKb7rp7EcrD7TKAbhzYiyI2TEcs/XteJZPGN/FGPB7P3vEbWpiOEr /5n8OSOYyaSpY83EA+N5L6Bg9OssjmDE02KwlRBW9ZHbg3rxeHpgttJD1pYoBLEo57/o l32ZASDlGA/eX7y3NYFFU8UWz9cdnABYUT1EfhP71QtueGuRAprUST3RWD9qvT+L+Ipy WxVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684360369; x=1686952369; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fYsBIL6pQrLiZKTd2tHL2HGxZZDmYDwXGuVFT0xmyH8=; b=k1D3n61lZjtlrgb+79j4NIOKNkAWTMaIxj/J0P1MO8wJY0cp6Z8Eh57tRItpvsXb6I pE1ofj5JfyKhLr8X5MXwh3Ra0xy6MFUnEscrDTs08DmenUFtRB5bhx0747yjC2JIQtHt weihojYAPnFuFrmOqb834du5fdCE/RcM3BNl/+XFMF/Qftk7HiFvL4GPF3Q4sqDrghMg /CJdmEiCt5I94W1Qj/a7+WM9e8q4NQUvxYF73immOCLo3T+ErGnQFRaKNBsb6CmH+xJV tE3FJkJ1rTzw8Pz3ECuymssK9rOdcnhnVv83Aq2ZjmQifTFByOsIgGkJQy2HT89bxPgM ZHMQ== X-Gm-Message-State: AC+VfDwG0xx83vYF/Crr6EehxrzJjUiDz5tsa9bm1XnJ4KtQFO/QrWmx CI4o//GP6e7vtDPxMsErrZqtzsmwsOJXYUv81699pkrvntA= X-Google-Smtp-Source: ACHHUZ6FRkNFetjsnZJ/Yfv6eVqntrZHb49hd7jCeeiFmjlVgg0S0FHy89/D2PBTzxEp0t1kwM+qJoj0QYD8EfwtzfQ= X-Received: by 2002:aca:c203:0:b0:38c:9f8:e6b4 with SMTP id s3-20020acac203000000b0038c09f8e6b4mr72574oif.21.1684360369452; Wed, 17 May 2023 14:52:49 -0700 (PDT) MIME-Version: 1.0 References: <4ECF6970-2A01-4C47-9B41-87D534F54CB8@shyim.de> In-Reply-To: Date: Wed, 17 May 2023 22:52:38 +0100 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary="0000000000007ebcd805fbeab53f" Subject: Re: [PHP-DEV] [RFC] path_join function From: davidgebler@gmail.com (David Gebler) --0000000000007ebcd805fbeab53f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, May 17, 2023 at 4:31=E2=80=AFPM Chase Peeler wrote: > Definitely a useful feature, but not sure it needs to be a core function. > > I feel the same. There are countless useful utility functions which could exist in core, many of which are even widely used and commonly reinvented as userland functions, Many would also seem at least prima facie to be complementary to existing functions which are in core. But my understanding of the usual convention is that "lots of people would have a use for it" isn't enough where no significant further justification or benefit can be provided for introducing a new core function. On a wider philosophy on the future of the language, I'd be more inclined to support changes like this which went the extra mile and introduced new, complete object classes to group related core functionality and slowly deprecate the enormous stock library of the global function namespace, which feels random enough as it is. -Dave --0000000000007ebcd805fbeab53f--