diff options
Diffstat (limited to 'Zend/tests/generators/throw_rethrow.phpt')
-rw-r--r-- | Zend/tests/generators/throw_rethrow.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/generators/throw_rethrow.phpt b/Zend/tests/generators/throw_rethrow.phpt index 65044ee3f3..f9e3f78f48 100644 --- a/Zend/tests/generators/throw_rethrow.phpt +++ b/Zend/tests/generators/throw_rethrow.phpt @@ -20,12 +20,12 @@ var_dump($gen->throw(new RuntimeException('throw'))); ?> --EXPECTF-- before yield -Caught: exception 'RuntimeException' with message 'throw' in %s:%d +Caught: RuntimeException: throw in %s:%d Stack trace: #0 {main} -Fatal error: Uncaught exception 'LogicException' with message 'new throw' in %s:%d +Fatal error: Uncaught LogicException: new throw in %s:%d Stack trace: #0 [internal function]: gen() #1 %s(%d): Generator->throw(Object(RuntimeException)) |