summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/003.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/003.phpt')
-rw-r--r--Zend/tests/return_types/003.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/return_types/003.phpt b/Zend/tests/return_types/003.phpt
index 5d60da25ed..c2f466cd01 100644
--- a/Zend/tests/return_types/003.phpt
+++ b/Zend/tests/return_types/003.phpt
@@ -7,7 +7,7 @@ function test1() : array {
}
test1();
--EXPECTF--
-Fatal error: Uncaught TypeError: Return value of test1() must be of type array, int returned in %s:%d
+Fatal error: Uncaught TypeError: test1(): Return value must be of type array, int returned in %s:%d
Stack trace:
#0 %s(%d): test1()
#1 {main}