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

php.internals

Tim Düsterhus, WoltLab GmbH

4 years ago
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

Kamil Tekiela

4 years ago
Just linking up the previous discussion around this topic: GH: https://github.com/php/php-src/pull/3293 ML: https://externals.io/message/102313

Guilliam Xavier

4 years ago
>> https://externals.io/message/117979
>> https://wiki.php.net/rfc/iterator_xyz_accept_array
> Just linking up the previous discussion around this topic: > > GH: https://github.com/php/php-src/pull/3293 > ML: https://externals.io/message/102313
Thanks. More discussion happened after the vote had started (as often, sadly): https://externals.io/message/102562
-- Guilliam Xavier

Tim Düsterhus, WoltLab GmbH

4 years ago
Hi On 6/21/22 16:27, Tim Düsterhus, WoltLab GmbH wrote:
> 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.
Tomorrow is the 5th, here's the voting start heads-up :-) 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