Skip to content

Commit 61d252c

Browse files
committed
Adjust ext/reflection/tests/028.phpt
This is legal now.
1 parent e4dfda5 commit 61d252c

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

ext/reflection/tests/028.phpt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ function foo()
1010
$g = foo();
1111
$g->next();
1212

13-
try {
14-
$r = new ReflectionGenerator($g);
15-
} catch (ReflectionException $e) {
16-
echo "Done!\n";
17-
}
13+
$r = new ReflectionGenerator($g);
14+
var_dump($r);
1815
?>
19-
--EXPECT--
20-
Done!
16+
--EXPECTF--
17+
object(ReflectionGenerator)#%d (0) {
18+
}

0 commit comments

Comments
 (0)