diff options
Diffstat (limited to 'ext/reflection/tests/bug64007.phpt')
-rw-r--r-- | ext/reflection/tests/bug64007.phpt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/reflection/tests/bug64007.phpt b/ext/reflection/tests/bug64007.phpt index 50149a2a74..8ee07bf555 100644 --- a/ext/reflection/tests/bug64007.phpt +++ b/ext/reflection/tests/bug64007.phpt @@ -16,4 +16,8 @@ var_dump($generator); --EXPECTF-- string(%d) "Class Generator is an internal class marked as final that cannot be instantiated without invoking its constructor" -Fatal error: The "Generator" class is reserved for internal use and cannot be manually instantiated in %sbug64007.php on line %d +Fatal error: Uncaught exception 'EngineException' with message 'The "Generator" class is reserved for internal use and cannot be manually instantiated' in %sbug64007.php:%d +Stack trace: +#0 %s(%d): ReflectionClass->newInstance() +#1 {main} + thrown in %sbug64007.php on line %d |