mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Previously only an error was thrown when return occured after yield. Also returns before the first yield would fail for by-ref generators. Now the error message is handled in pass_two, so all returns are checked.