Re: Re: Generators in PHP

From: Date: Thu, 26 Jul 2012 15:17:58 +0000
Subject: Re: Re: Generators in PHP
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Wed, Jul 25, 2012 at 11:00 PM, Jared Williams
<[email protected]> wrote:
> Though here is seemingly another problem, though it could be within
> spl's MultipleIterator()

Thanks, this is fixed now (see
https://github.com/nikic/php-src/commit/268740d9848d435054ce73a8cfe36b2b732cd1f7).
It turned out that you have to implement the Iterator interface before
assigning the get_iterator handler.

Again, thanks for testing the patch and providing useful feedback :)

Nikita


Thread (142 messages)

« previous php.internals (#61812) next »