Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112841 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 44307 invoked from network); 11 Jan 2021 14:38:14 -0000 Received: from unknown (HELO localhost.localdomain) (76.75.200.58) by pb1.pair.com with SMTP; 11 Jan 2021 14:38:14 -0000 To: internals@lists.php.net References: Date: Mon, 11 Jan 2021 14:15:56 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Posted-By: 87.81.129.66 Subject: Re: Straw poll: Naming for `*any()` and `*all()` on iterables From: marandall@php.net (Mark Randall) Message-ID: On 10/01/2021 16:52, tyson andre wrote: > - no namespace: iterable_any()/iterable_all() > - iter\ (conflicts with nikic/iter but was also suggested by Nikita) > - iterable\ (see below note) > - PHP\ (This deliberately uses uppercase, see https://www.php.net/manual/en/language.namespaces.rationale.php) > - PHP\iter\ > - PHP\iterable\ (see below note) > - Ext\Spl\, as suggested in https://wiki.php.net/rfc/php_namespace_policy > - Spl\ > - Spl\iter\ > - Spl\iterable\ (see below note) FWIW as iterables and the likes relate to engine features, the PHP namespace policy RFC would have considered them ideal candidates for \PHP\SubNS rather than \Ext\SubNS Mark Randall