summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/020.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/020.phpt')
-rw-r--r--Zend/tests/return_types/020.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/tests/return_types/020.phpt b/Zend/tests/return_types/020.phpt
index 57c93a8dcd..101de62dd7 100644
--- a/Zend/tests/return_types/020.phpt
+++ b/Zend/tests/return_types/020.phpt
@@ -1,5 +1,6 @@
--TEST--
Exception thrown from function with return type
+
--FILE--
<?php
function test() : array {
@@ -7,6 +8,7 @@ function test() : array {
}
test();
+
--EXPECTF--
Fatal error: Uncaught Exception in %s:%d
Stack trace: