summaryrefslogtreecommitdiff
path: root/Zend/tests/call_user_func_002.phpt
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-01-29 20:06:13 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-02-17 14:22:17 +0100
commitac0853eb265784c4238af652de9c54c883ffa99f (patch)
treee9316872480304e9e74ce89bd15052965cc18438 /Zend/tests/call_user_func_002.phpt
parent72bd55902d1908857f47555ad69458861e1acd94 (diff)
downloadphp-git-ac0853eb265784c4238af652de9c54c883ffa99f.tar.gz
Make type error messages more consistent
Closes GH-5092
Diffstat (limited to 'Zend/tests/call_user_func_002.phpt')
-rw-r--r--Zend/tests/call_user_func_002.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/tests/call_user_func_002.phpt b/Zend/tests/call_user_func_002.phpt
index cc07ffab16..3ac9308543 100644
--- a/Zend/tests/call_user_func_002.phpt
+++ b/Zend/tests/call_user_func_002.phpt
@@ -31,11 +31,11 @@ try {
?>
--EXPECTF--
string(3) "foo"
-call_user_func() expects parameter 1 to be a valid callback, class 'foo' not found
-call_user_func() expects parameter 1 to be a valid callback, class '' not found
+call_user_func() expects argument #1 ($function) to be a valid callback, class 'foo' not found
+call_user_func() expects argument #1 ($function) to be a valid callback, class '' not found
Warning: Undefined variable: foo in %s on line %d
-call_user_func() expects parameter 1 to be a valid callback, first array member is not a valid class name or object
+call_user_func() expects argument #1 ($function) to be a valid callback, first array member is not a valid class name or object
Warning: Undefined variable: foo in %s on line %d
-call_user_func() expects parameter 1 to be a valid callback, first array member is not a valid class name or object
+call_user_func() expects argument #1 ($function) to be a valid callback, first array member is not a valid class name or object