xref: /PHP-7.0/Zend/tests/bug69989_1.phpt (revision aa3f44a3)
1--TEST--
2Bug #69989: Cycle collection for yielded values
3--FILE--
4<?php
5
6function gen() {
7    yield yield;
8}
9$gen = gen();
10$gen->send($gen);
11
12?>
13===DONE===
14--EXPECT--
15===DONE===
16