On 2 March 2015 at 00:17, Niklas Keller <m...@kelunik.com> wrote:

>
> The proposed syntax has an issue:
>
> <?php
>
> function a () {
>     echo yield * 3;
> }
>
> $a = a();
> $a->send(42);
>
> http://3v4l.org/n1sGb#v550
>
> This is currently valid PHP.
>
>
I've created a test for this, so we don't forget it in future

https://github.com/php/php-src/pull/1133

Reply via email to