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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php