Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113147 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 8253 invoked from network); 11 Feb 2021 18:43:59 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Feb 2021 18:43:59 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 54BFC1804B1 for ; Thu, 11 Feb 2021 10:29:32 -0800 (PST) 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,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 ; Thu, 11 Feb 2021 10:29:31 -0800 (PST) Received: by mail-wr1-f46.google.com with SMTP id v1so1560068wrd.6 for ; Thu, 11 Feb 2021 10:29:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=PbX+bEk1eL2i1T02zoT9gnf8UmO+u+JJn9+sAZI3HA4=; b=iQjdi2CkUFCzz/vaFwP5J97JUONdkb5syRYn7qxKhwzK8TzpP5OUAOEIYjKr+aCn32 bEy/H1Vwsetu+lojPn8J2lwFt+0wFyAagxF9nvprJkjUCaZlesIbh095efXoAAm0/Bts M/ABmvLfB2JtV6Pws3RHfCYhCn8D88nteiZF0XQGHj3KZONO0Od3bBKWkPlQsHcrHB/e CVLGcE3rkXr9t4a5CdgHxzlcEHBiBDBeq8e64CI+m3eeu/Nvwfs2l0cpuf7hSXQjl97a 9hH7vaPNJWz0bA5v09Ujef++E1PUIY/BbqYacLx6WvevkKSd7DyQRru1Th0lZiXnUwB8 5AeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=PbX+bEk1eL2i1T02zoT9gnf8UmO+u+JJn9+sAZI3HA4=; b=WDl0hIJqrXuMYBZ9hWKQb5lmMrmFYr1Bfj8KiTyiGMbGiuVkq8s2gjbQRIL/rTJHj8 f6DEH2yU84CgYjNFUsssynUjNlm0Oz14oZHxiqaArD9Y2X7dXVXGrD3T7QnuZ6f9wrHs YpwDla81EVX6W08FVwkRu9ScrqJ8Xutb5F7XKLGlL/PNcDpAw7Etg8v/MP+D3jf9Emy+ X0kzgKgxdum0TYliTtiiyYJV8Y+R1oQqSIb7fffZ4Q6nxPKfG8wpMlAF/uv2Ew7W7Hjl UPU6w84q+HhDU52I4vpVcZgq399+0KJjS00D1x8oCOn5JfU+bVe4KHTRr1rfZ0On0L4e zzJQ== X-Gm-Message-State: AOAM532KD0pbwc9Yk+7skay+S96UQPn7mgeYevPiyFaBkPzRB/ELxtZd GzxJEbcqbZD6rtfPGUZ9Kay25EBXFRQ= X-Google-Smtp-Source: ABdhPJwPk2xmNJGWUI9drOpUgydEyiIzw3J2Y4h7QORYPWvVtfQnJCHITVJOv5M7u9KmV2ah6Y1QDw== X-Received: by 2002:a5d:54ca:: with SMTP id x10mr6799900wrv.135.1613068166049; Thu, 11 Feb 2021 10:29:26 -0800 (PST) Received: from [192.168.0.22] (cpc104104-brig22-2-0-cust548.3-3.cable.virginm.net. [82.10.58.37]) by smtp.googlemail.com with ESMTPSA id n3sm5928649wrv.22.2021.02.11.10.29.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Feb 2021 10:29:25 -0800 (PST) To: internals@lists.php.net References: Message-ID: Date: Thu, 11 Feb 2021 18:29:24 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Subject: Re: [PHP-DEV] Proposal: namespace the SPL From: rowan.collins@gmail.com (Rowan Tommins) On 11/02/2021 16:39, Levi Morrison wrote: > 2. Any new types going into `ext/spl` use the `Spl` namespace. New > types added to `ext/spl` should be either related to data structures > or iterators, which is the bulk of what the SPL is. > a. This rule is to help prevent the SPL from becoming the dumping > grounds for new types. I think having this rule mentioned and agreed somewhere at least is a good idea. We could perhaps in future look at moving those parts currently labelled as "spl" which *don't* fall into those categories somewhere else. It's weird that you can now _only_ use autoloading via a function prefixed "spl_", even though it's a language feature. Regards, -- Rowan Tommins [IMSoP]