summaryrefslogtreecommitdiff
path: root/Zend/tests/closure_027.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/closure_027.phpt')
-rw-r--r--Zend/tests/closure_027.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/closure_027.phpt b/Zend/tests/closure_027.phpt
index bffd69c11a..ceffcd72ab 100644
--- a/Zend/tests/closure_027.phpt
+++ b/Zend/tests/closure_027.phpt
@@ -30,7 +30,7 @@ NULL
Warning: Undefined variable: y in %s on line %d
Exception: Too few arguments to function {closure}(), 0 passed in %s on line %d and exactly 1 expected
-Fatal error: Uncaught TypeError: test() expects argument #1 ($a) to be of type Closure, stdClass given, called in %s on line %d and defined in %s:%d
+Fatal error: Uncaught TypeError: test(): Argument #1 ($a) must be of type Closure, stdClass given, called in %s:%d
Stack trace:
#0 %s(%d): test(Object(stdClass))
#1 {main}