Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102888 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99787 invoked from network); 17 Jul 2018 12:44:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2018 12:44:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=mail@majkl578.cz; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mail@majkl578.cz; sender-id=pass Received-SPF: pass (pb1.pair.com: domain majkl578.cz designates 74.125.82.49 as permitted sender) X-PHP-List-Original-Sender: mail@majkl578.cz X-Host-Fingerprint: 74.125.82.49 mail-wm0-f49.google.com Received: from [74.125.82.49] ([74.125.82.49:51040] helo=mail-wm0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 68/D8-37178-694ED4B5 for ; Tue, 17 Jul 2018 08:44:07 -0400 Received: by mail-wm0-f49.google.com with SMTP id v25-v6so1366415wmc.0 for ; Tue, 17 Jul 2018 05:44:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=majkl578.cz; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=aoh+0gyFyP4dSTIE2ORJMvAEkwR394OrOBlWeDLWLCM=; b=b/r+xoawuHg1q4NxrCy4yaHAyDH0Kc0nQuwb7umXcPPwFg52SnmQaIZPjZ+3BIKhTq BpQ4S5BErx5uGpFkJI8KFpGvL/SiWBuVLw9owFAsz7I9oyN7fti+YEj+MRz/0HGKqn1Q 1roLfKDp04d8XdXo0MA3A7IigRf157WZuiAcFi4hEJWneLE1+wGZKUQ/Twnl/HRHhf0R kZqGl2TrpPhY6t5W5zS349pW4Y1nWrMzS1zT7tkfMCxM4SRBBWecZqTYtZ0fEB3UwexK eYWzXpcSBsuvPnQwj7JXaVm8jbC98uN+Pr4vtfYKX+erNGEHiDJM051CLbreNh8yrU4F GwVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=aoh+0gyFyP4dSTIE2ORJMvAEkwR394OrOBlWeDLWLCM=; b=LLw8N0HMhFXFn6qLJM2PBQZgtUNAfnq5ORCi+kNMXGsBEQcG4JIx4cQlU4LP+lohIP t4phbKNQ3QtjJpYSNA5KTfYZathV6dWQikbbdJpbs+K5Y4fTCClVKo1EHsu3DLW/+4JC uP2JC8OJNZfw+CubLMpda8DfR5hhy7rck2TgEp3XnqmxDezP9Nb2qGV4aYI2G56fUhBl 55fl85QN+kYNjXipS2gioxWIDKbxRwC7nctO2pL87nmIsskv1pOiDxENvKvfZQFJVodh 8a+jO84sZ/NxG+UlxpDfwpdPvRqBYcdh7jOmPDCkmsrHAk/sOzRWFgWQVyew2ql8zTjS ypfw== X-Gm-Message-State: AOUpUlEoS4T+pIesZReEQPvJL4dr4CTC9y7uhAyZqt51cuuHz+tFLBsh 2tqXeSJ0cd/OLI2UtCitm3FBJyCog5oznbtNcJ2ETw== X-Google-Smtp-Source: AAOMgpdUpKo9a+/m7h4rCxTTuszoUnl79MwBOYJ52Piq53GSHYmWdsgm5UkM/2XOJzZL6ts62/yLOGEaYi/jVCvKDPg= X-Received: by 2002:a1c:64c:: with SMTP id 73-v6mr1220008wmg.7.1531831443717; Tue, 17 Jul 2018 05:44:03 -0700 (PDT) MIME-Version: 1.0 Sender: mail@majkl578.cz Received: by 2002:adf:9007:0:0:0:0:0 with HTTP; Tue, 17 Jul 2018 05:43:43 -0700 (PDT) X-Originating-IP: [80.250.18.198] In-Reply-To: References: Date: Tue, 17 Jul 2018 14:43:43 +0200 X-Google-Sender-Auth: uA5zK4UGfVU7tlrDR1XGgh4cTTw Message-ID: To: =?UTF-8?Q?Pedro_Magalh=C3=A3es?= Cc: Michael Moravec , PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC][Vote] iterable_to_array() and iterable_count() From: php.net@majkl578.cz (Michael Moravec) Hi, the RFC has been declined. Thank you for voting, and especially thanks to Jordi and Nikita for explaining their No vote, unlike the rest of No-voters. Thank you, M. 2018-07-09 22:13 GMT+02:00 Pedro Magalh=C3=A3es : > On Tue, Jul 3, 2018 at 9:48 PM Michael Moravec wrot= e: >> >> Hello internals, >> >> The RFC for adding iterable_to_array() and iterable_count() is now open >> for >> voting: >> >> https://wiki.php.net/rfc/iterable_to_array-and-iterable_count >> >> You can vote for each function separately. >> >> Voting will close on 2018-07-17 12:00 UTC. >> >> >> Thank you, >> M. > > > Hi, > > I'd like to point out that a cast to array could almost replace the first > one-liner example in the RFC, with the exception of the generator case. I= t > may be an issue that (array)$iterator has a different behavior than > iterator_to_array($iterable) but that would be a separate discussion. > > Regards, > Pedro