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() will do the job and all is well. If consuming the iterator is desired then one still can do count(iterable_to_array($iter)) fairly easily.

Best,
Jordi


On 04/07/2018 00:44, Michael Moravec wrote:
2018-07-04 0:23 GMT+02:00 Christoph M. Becker <cmbecke...@gmx.de>:
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 2018-07-16 23:00 UTC.

M.


--
Jordi Boggiano
@seldaek - https://seld.be


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to