File size: 219 Bytes
1e94262
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
ReflectionGenerator::__construct()
--FILE--
<?php
function foo()
{
    yield 1;
}

$g = foo();
$g->next();

$r = new ReflectionGenerator($g);
var_dump($r);
?>
--EXPECTF--
object(ReflectionGenerator)#%d (0) {
}