[VOTE] [RFC] Make the iterator_*() family accept all iterables

php.internals

Tim Düsterhus, WoltLab GmbH

4 years ago
Hi I just opened the vote on: "Make the iterator_*() family accept all iterables" [1] The RFC contains two votes, each of which requires a 2/3 majority. Voting will run 2 weeks until: 2022-07-19 at 14:45 UTC -------- Please find the below resources for your reference: RFC: https://wiki.php.net/rfc/iterator_xyz_accept_array PoC implementation: https://github.com/php/php-src/pull/8819 Pre-RFC Thread: https://externals.io/message/117979 Discussion Thread: https://externals.io/message/118036 -------- [1] https://wiki.php.net/rfc/iterator_xyz_accept_array 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

Tim Düsterhus, WoltLab GmbH

4 years ago
Hi On 7/5/22 16:30, Tim Düsterhus, WoltLab GmbH wrote:
> "Make the iterator_*() family accept all iterables" [1] > > […] > > [1] https://wiki.php.net/rfc/iterator_xyz_accept_array >
Both votes in the RFC were accepted 17:2 (89%), albeit with some voters only participating in one of the votes. As the implementation was already reviewed in anticipation of the RFC passing, I've already merged it: https://github.com/php/php-src/commit/7ae7df5b4601f3f0ce45a27324fb9c6ebcbfc9ed Thanks! 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