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

- Thread: https://externals.io/message/118036
- Original archive: https://news-web.php.net/php.internals/118036
- Started by duesterhus@woltlab.com on 2022-06-21T14:27:09+00:00
- Messages: 4
- RFC: Make the iterator_*() family accept all iterables (Implemented (PHP 8.2)) — https://externals.io/rfc/iterator_xyz_accept_array.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #118036 — duesterhus@woltlab.com — 2022-06-21T14:27:09+00:00

URL: https://externals.io/message/118036#118036

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

---

## #118038 — Kamil Tekiela — 2022-06-21T15:54:21+00:00

URL: https://externals.io/message/118036#118038 · In reply to: #118036

Just linking up the previous discussion around this topic:

GH: https://github.com/php/php-src/pull/3293
ML: https://externals.io/message/102313

---

## #118042 — Guilliam Xavier — 2022-06-22T11:36:46+00:00

URL: https://externals.io/message/118036#118042 · In reply to: #118038

> > […]

> > […]

> 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

---

## #118166 — duesterhus@woltlab.com — 2022-07-04T07:28:32+00:00

URL: https://externals.io/message/118036#118166 · In reply to: #118036

Hi


> 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
