Re: Internal iteration API
From: Johannes Schlüter Date: Sat, 21 Jul 2012 13:22:22 +0000 Subject: Re: Internal iteration API References: 1 2 3 4 5 6 Groups: php.internals Request: Send a blank email to [email protected] to get a copy of this message
On Fri, 2012-07-13 at 10:32 +1000, David Muir wrote: > What about extending the array typehint include ArrayAccess, and extend > the Traversable typehint to include arrays? For that all (internal) consumers of Traversable have to work with arrays. i.e. <?php new IteratorIterator([1,2,3,4,5]); ?>. This could be in the scope of the internal iteration but should not be forgotten. johannes
Thread (24 messages)
« previous | php.internals (#61621) | next » |
---|