Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112569 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 27574 invoked from network); 20 Dec 2020 23:37:52 -0000 Received: from unknown (HELO localhost.localdomain) (76.75.200.58) by pb1.pair.com with SMTP; 20 Dec 2020 23:37:52 -0000 To: internals@lists.php.net References: Date: Sun, 20 Dec 2020 23:10:09 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 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 19/12/2020 20:24, tyson andre wrote: > Hi internals, > > I've created a straw poll for the naming pattern to use for `*any()` and `*all()` on iterables. > https://wiki.php.net/rfc/any_all_on_iterable_straw_poll These functions make sense. However I think we need to give renewed consideration to: $itr->all(); $itr->some(...);