Many interfaces work with callback functions, but they might work with the generators, if there was a method Generator::__invoke($value).
I apologize if this topic has been discussed. Thank. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php