Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109857 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 17984 invoked from network); 27 Apr 2020 09:52:54 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 27 Apr 2020 09:52:54 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9EDE31804C7 for ; Mon, 27 Apr 2020 01:25: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.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 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-il1-f178.google.com (mail-il1-f178.google.com [209.85.166.178]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 27 Apr 2020 01:25:43 -0700 (PDT) Received: by mail-il1-f178.google.com with SMTP id q10so15889804ile.0 for ; Mon, 27 Apr 2020 01:25:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=8InmW7cFOeTKm4J8nOiKl/JDNK7tNgbHz5nFPfXPqCU=; b=ZhxExJAJVHlCWl3CNGcGAynD9q85dKW9p+iqgW4R3t1pEye7YfDWL0ygxbqDu7w4Vs vPTgdMKrK1BY9KlO8yn4enJOboTC3KB2npYF4IMPso3H/7yvno16YQ0rSl2+fw5Lmv7m qba4pIShtMvU57/yA4kEqgjgOicFSADxnaEbH5/6g66Ic2LYWQ5HIFSyZHeIyQmlWuge 1mc+J4yeF0Gtg5DXEkC8d7PYUGfxMzNcrb8GspGeEUbuWtD9IfzmA0ariD7iXsC2CwhR JJ3hMb0C3wpe/i/yLyEeCbMdxqxX1u0bH1NxiYFi3omj3wvGmeskLp10JfugPwZ+HpHz QRGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=8InmW7cFOeTKm4J8nOiKl/JDNK7tNgbHz5nFPfXPqCU=; b=muNcFmXyHJ5AVs1zSSCPUmIW6/8vhSuVf9iwnS4fJ/kyepJtltXp1W1PEwAKDwonb2 +3WKNanWgQ1lDg24MLclMaVS9gd7pnPvWPQjoCyFhU7sCx9wllIIVWmsN+bBYMXGaioZ odcNMJokwzyIkd+K25fZwqNFhl0wFlyi37RhlQWca3Xt7SbWNdPtNhg+wkatLuyVcIEI 6gj5rJzxTWrwk0poXr0a/fl1XT/vJEeqhvPIEQZUldZEjCay7btODIQBd/p3VYIs9Aey bzpoNQjPQnvZG6x11i/o91KoU07K45YYKFc6lBdzz6W8sZGrf/zZXa6jSac0+YeorALc LgVw== X-Gm-Message-State: AGi0PuYGIZJ7n9WezEjcq9i8Ug4fCgTWAvdlPWIf4SBcDe9EljdLSHVh n0midyF1KvMO8lLRW4mHoizoQTF86bW3tHnTXIQK7A== X-Google-Smtp-Source: APiQypLTmbQxeYxcT/q3jfR8hyeQ6+Z+KMOzBe7f+mxsszU4P1M82N7WBjUZDVUnx9yf16DfNuKpHtS28IeoNxftqo0= X-Received: by 2002:a92:9a5c:: with SMTP id t89mr20698155ili.267.1587975939663; Mon, 27 Apr 2020 01:25:39 -0700 (PDT) MIME-Version: 1.0 References: <5ea5e72d.1c69fb81.ecd6b.8d05SMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: <5ea5e72d.1c69fb81.ecd6b.8d05SMTPIN_ADDED_MISSING@mx.google.com> Date: Mon, 27 Apr 2020 09:25:27 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000cbcee105a4417570" Subject: Re: [PHP-DEV] Re: [RFC] PHP Namespace Policy From: rowan.collins@gmail.com (Rowan Tommins) --000000000000cbcee105a4417570 Content-Type: text/plain; charset="UTF-8" On Sun, 26 Apr 2020 at 20:55, Mark Randall wrote: > I would be interested in hearing arguments why such a strategy adopted > with great success by many of the most popular and well-developed > languages, is inappropriate for PHP. > To me, the answer to that is quite simple: we have several hundred functions, and several dozen classes and interfaces, which are not in such a namespace; and we have millions of lines of code out in the world using them. So either we need a strong rationale and a concrete plan to move all of those into the namespace, or we need a consistent policy on what goes in and what stays out. It wouldn't make much sense, for instance, to have PHP\str_contains but no plan to move str_replace. The decisions you can make in version 8 of a language are inevitably different from those you can make prior to version 1. Regards, -- Rowan Tommins [IMSoP] --000000000000cbcee105a4417570--