Hi folks :)
I know everyone is already quite busy attempting to resolve scalar
types, assertions, etc. So let me add another RFC to your
pre-feature-freeze cognitive overload! This proposal allows the
specification of and access to Generator return expressions:
https://wiki.php.net/rfc/generator-return-expressions
The proposed functionality allows for more robust coroutine multitasking
and lays the groundwork for the future implementation of the yield from
sub-generator syntax found in other languages. Please take a few minutes in
the coming days to read the proposal and ask any questions you may have as
I plan to initiate a vote for inclusion in PHP 7 as soon as the required
discussion period elapses.
Thanks for your time and thanks to Nikita for writing the patch to make
this happen.
- Daniel