Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111762 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 83358 invoked from network); 1 Sep 2020 08:55:00 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 1 Sep 2020 08:55:00 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 883741804AA for ; Tue, 1 Sep 2020 00:59:37 -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-Virus: No X-Envelope-From: Received: from mail-il1-f170.google.com (mail-il1-f170.google.com [209.85.166.170]) (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 ; Tue, 1 Sep 2020 00:59:37 -0700 (PDT) Received: by mail-il1-f170.google.com with SMTP id p13so407445ils.3 for ; Tue, 01 Sep 2020 00:59:37 -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 :cc; bh=Zt/CsmBSvBnIrYE8KrP5X557IgFV0Mqq1CqJJbbx6YI=; b=ZoU38KmJ2aX29tXYQJ1n1sXlE5SthtoVOhUoUHTDtC9zQu/1yNigqu6oUYDTGD/rGh OXFLm4ADFpmL+7jrTjIZBDFPskH9OxUW5mgFfamD4GvY67zHtHT8b+KI+LjioBnEWg/P N0ScwMcMFRqlcw/2ZoXjjz298dP6OqplTO4s4pZw1pPUaM0dVJ4JRjJkR6asfRN6g32P qNzQiPtCTeuNrhPh+zHnp32psyHZb1Fqei9L3hheORHp8AO/3CFLfjeqy5zZ15WOKa6I XAmq0kS9aJ49ACAYmZ5J674DhOpR25nEZBp68VM+ZG2vfUJqWlsc25cfkIGrzVduc2fI /Zzw== 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:cc; bh=Zt/CsmBSvBnIrYE8KrP5X557IgFV0Mqq1CqJJbbx6YI=; b=KZRYCmPh94Jl8b7z7P7qCwfU7vUWlXt3WebpAdnw3Erg4B4q/kvoo7xCSfqBRfaD9a zzZeYVvzdFF2y6fy62kxm8pAAfbLdj8ejlObrKqUnCF4pF3BAAxwPjs20maxS3qqKOrF 9SZ57dZjNInuUsDGZ3y5olvlhCDLGkVMMNCvgptC5EnyiP5zeT1RoAAAUJuzfXD6dSJ0 AYrmLGGlyb/DHUEcJjMx20mlIAvsv/NLY5HL/vZaMVRRi2PV82ayUTLNpyDnO0Zem4cD 0N8YGpw4dz1bdR9ZDXXc9+ZMzAsMGYnoKeh8MQEkcNhOkaO+FKoWP872tq09ewUn/CmL VAwA== X-Gm-Message-State: AOAM532NfXwCPyANqHmfThhdOR9l8CynPhj8l+uJrkEKnkrkWaJpgigm 2JymBVmfNJaso7aDAij72lnIujnHWg3nljLxBaw= X-Google-Smtp-Source: ABdhPJxSnFuruwBy3ZA4xQoRh73hPYKIgy14Le0BTR4pl43+rVd4QaJrYsuwW/mmDiaycoCf3jFkSOS88JI78N56Ymc= X-Received: by 2002:a92:1901:: with SMTP id 1mr286040ilz.283.1598947176264; Tue, 01 Sep 2020 00:59:36 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 1 Sep 2020 09:59:24 +0200 Message-ID: To: Nikita Popov Cc: tyson andre , PHP internals Content-Type: multipart/alternative; boundary="00000000000074b9a505ae3be698" Subject: Re: [PHP-DEV] [RFC] Global functions any() and all() on iterables From: ocramius@gmail.com (Marco Pivetta) --00000000000074b9a505ae3be698 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Sep 1, 2020, 09:31 Nikita Popov wrote: > > To be in line with naming conventions, I would suggest calling these > iter_any() and iter_all(), using iter_* as the prefix for our future > additions to the "functions that work on arbitrary iterables" space. > iterable_any() and iterable_all() would work as well, though are > unnecessarily verbose. > > Regards, > Nikita > Oof, does it really have to be butchered this way? Or are you trolling? =F0= =9F=98=AC Did the namespaces ship sail forever? Can we just have those instead, please? > --00000000000074b9a505ae3be698--