Re: Re: Generators in PHP
| From: | Alex Aulbach | Date: | Tue, 24 Jul 2012 17:34:13 +0000 |
| Subject: | Re: Re: Generators in PHP | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61703@lists.php.net to get a copy of this message | ||
2012/7/23 Sara Golemon <pollita@php.net>:
> Curious if you could expand on that. Generators are iterators, so not sure
> what you're asking for.
It's the point which is unlogical for me. Maybe it's a question. If
the generator is an object with the implementation of an iterator, why
do we need to have it as _function_?
--
Alex Aulbach