1--TEST--
2"yield" can occur during a function call
3--FILE--
4<?php
5
6function gen() {
7    var_dump(str_repeat("x", yield));
8}
9
10$gen = gen();
11$gen->send(10);
12
13?>
14--EXPECT--
15string(10) "xxxxxxxxxx"
16