1 2 3 4 5 6 7 8 9
--TEST-- Closures can be unused generators --FILE-- <?php (function(){yield;})(); echo "ok\n"; ?> --EXPECT-- ok