]> granicus.if.org Git - php/commit
Fixed bug #79927
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 11 Aug 2020 13:48:40 +0000 (15:48 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 11 Aug 2020 13:48:40 +0000 (15:48 +0200)
commite25aab64268adb4e233737c274b195e1662f7211
tree873a8d486c600eef19620f503e77a345aba76bb8
parent227f1f148104f192cd86226e53e1e6c595d41cae
Fixed bug #79927

We need to unset the AT_FIRST_YIELD flag when yielding from an
array as well.

In the interest of being conservative, I'm applying this only to
PHP 8.
NEWS
Zend/tests/bug79927.phpt [new file with mode: 0644]
Zend/zend_generators.c