Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118036 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 19607 invoked from network); 21 Jun 2022 12:38:02 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 21 Jun 2022 12:38:02 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E48CA18037F for ; Tue, 21 Jun 2022 07:27:15 -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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS199118 195.10.208.0/24 X-Spam-Virus: No X-Envelope-From: Received: from mout-b-105.mailbox.org (mout-b-105.mailbox.org [195.10.208.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 21 Jun 2022 07:27:15 -0700 (PDT) Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-b-105.mailbox.org (Postfix) with ESMTPS id 4LS83g6DLqz9t74 for ; Tue, 21 Jun 2022 16:27:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=woltlab.com; s=MBO0001; t=1655821631; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YNlpWhm3fNKEhUkHKQ0IZnV7/y3mGJoqsc5Pbts0XHM=; b=WdHCVVJjvXrL6/5sm4WmAwZPjsU54TkDzAP9A6ZAkvlZ5yGjwUl3tlXBgM84UjOphXFJ+a gbaM4xuBfg8YrHHU+CJOfOBQzrqsTp9NaWBqa4qJYTLK7I9DDQK9J1G/7htpr8KTD/OKgl /cockOz+l1OavjCqM8tCxqT/ZCKNk5ElEEDMyJYDYYwN84LdvW0gaN2pdGRANQcbXV+VNR mFkcWBRbh0N0rd1FkskfCXANDaQNKFlmZlWbFf3Oa1DZRgudPskpLhnCLV+avV2xcH4/Rm rxJh3IE3DR1qSc4VtUTMoIhnN5FJM7g0UdMF5q/vxZILyvVdxYUh9/h/maCjBA== Message-ID: <8d49d66a-b0bc-f2c0-10a3-ee6d9330aa86@woltlab.com> Date: Tue, 21 Jun 2022 16:27:09 +0200 MIME-Version: 1.0 Content-Language: en-US To: PHP internals Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: [RFC] Make the iterator_*() family accept all iterables From: duesterhus@woltlab.com (=?UTF-8?Q?Tim_D=c3=bcsterhus=2c_WoltLab_GmbH?=) Hi Internals as at least one participant in the previous thread [1] voiced the need for an RFC, I've written up an RFC: https://wiki.php.net/rfc/iterator_xyz_accept_array which I am officially opening up for discussion, just in time for PHP 8.2. Voting will start in 2 weeks on 2022-07-05. Voting will end in 4 weeks on 2022-07-19. [1] https://externals.io/message/117979 Best regards Tim Düsterhus Developer WoltLab GmbH -- WoltLab GmbH Nedlitzer Str. 27B 14469 Potsdam Tel.: +49 331 96784338 duesterhus@woltlab.com www.woltlab.com Managing director: Marcel Werk AG Potsdam HRB 26795 P