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ães <m...@pmmaga.net>: > On Tue, Jul 3, 2018 at 9:48 PM Michael Moravec <php....@majkl578.cz> wrote: >> >> 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. It > 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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php