Would it be worth while adding a new type hint that checks for this condition? I'd propose Iterable:
I'd love to see something like this added to core. -- Christer Edvartsen http://twitter.com/#!/cogocogo -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php