Re: [PHP-DEV] Re: [RFC][Vote] iterable_to_array() and iterable_count()

2018-07-05 Thread Michael Moravec
2018-07-05 16:43 GMT+02:00 Jordi Boggiano : > Just to explain the No vote for iterable_count, I think we'd rather advocate > people implement Countable in their iterables than to force the consumption > of an iterator just to count it as this can have side-effects and render the > iterator unusabl

Re: [PHP-DEV] Re: [RFC][Vote] iterable_to_array() and iterable_count()

2018-07-05 Thread Jordi Boggiano
Hey, Just to explain the No vote for iterable_count, I think we'd rather advocate people implement Countable in their iterables than to force the consumption of an iterator just to count it as this can have side-effects and render the iterator unusable. If Countable is implemented then count(

[PHP-DEV] Re: [RFC][Vote] iterable_to_array() and iterable_count()

2018-07-03 Thread Michael Moravec
2018-07-04 0:23 GMT+02:00 Christoph M. Becker : > > Yeah, I'd prefer that. It's not that 2018-07-17 12:00 UTC *couldn't* > work – it's just I'd rather have some buffer time (I presume there will > be more RFCs whose voting ends close to feature freeze). Alright, updated! RFC voting now closes on

[PHP-DEV] Re: [RFC][Vote] iterable_to_array() and iterable_count()

2018-07-03 Thread Christoph M. Becker
On 04.07.2018 at 00:11, Michael Moravec wrote: > I wanted to keep it within the standard 14 days long period > both for discussion and voting. > If there are no objections (no votes yet), we can shorten it > i.e. to 2018-.07-16 23:00 UTC - would that work for you? Yeah, I'd prefer that. It's not

[PHP-DEV] Re: [RFC][Vote] iterable_to_array() and iterable_count()

2018-07-03 Thread Michael Moravec
Hi Christoph, I wanted to keep it within the standard 14 days long period both for discussion and voting. If there are no objections (no votes yet), we can shorten it i.e. to 2018-.07-16 23:00 UTC - would that work for you? Thanks! M. 2018-07-03 23:52 GMT+02:00 Christoph M. Becker : > On 03.07

[PHP-DEV] Re: [RFC][Vote] iterable_to_array() and iterable_count()

2018-07-03 Thread Christoph M. Becker
On 03.07.2018 at 22:48, Michael Moravec 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 Thanks for the RFC, Michael! > You can vote for each function separately