1--TEST--
2Calls to send() after close should do nothing
3--FILE--
4<?php
5
6function gen() { var_dump(yield); }
7
8$gen = gen();
9$gen->send('foo');
10$gen->send('bar');
11
12?>
13--EXPECT--
14string(3) "foo"
15