1--TEST--
2There shouldn't be any leaks when the generator's return value isn't used
3--FILE--
4<?php
5
6function gen($foo) { yield; }
7
8gen('foo'); // return value not used
9
10?>
11===DONE===
12--EXPECT--
13===DONE===
14