Adobe interview question

PHP: the manual example from generators (using yield)