Re: Straw poll: Naming for `*any()` and `*all()` on iterables
| From: | Mark Randall | Date: | Mon, 11 Jan 2021 14:15:56 +0000 |
| Subject: | Re: Straw poll: Naming for `*any()` and `*all()` on iterables | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-112841@lists.php.net to get a copy of this message | ||
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