summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/array_map_object2.phpt
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-02-25 20:58:33 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-02-26 15:00:08 +0100
commit960318ed95d17bd30c2896e2f3189ebffb965dce (patch)
tree2890972c266dabe649a44b540869a49e41a3e450 /ext/standard/tests/array/array_map_object2.phpt
parentc7094d892639fedffb67c273f8fd44f3ffff86d6 (diff)
downloadphp-git-960318ed95d17bd30c2896e2f3189ebffb965dce.tar.gz
Change argument error message format
Closes GH-5211
Diffstat (limited to 'ext/standard/tests/array/array_map_object2.phpt')
-rw-r--r--ext/standard/tests/array/array_map_object2.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/array/array_map_object2.phpt b/ext/standard/tests/array/array_map_object2.phpt
index de43ff2c93..92dbc02181 100644
--- a/ext/standard/tests/array/array_map_object2.phpt
+++ b/ext/standard/tests/array/array_map_object2.phpt
@@ -44,7 +44,7 @@ echo "Done";
--EXPECT--
*** Testing array_map() : with non-existent class and method ***
-- with non-existent class --
-array_map() expects argument #1 ($callback) to be a valid callback, class 'non-existent' not found
+array_map(): Argument #1 ($callback) must be a valid callback, class 'non-existent' not found
-- with existent class and non-existent method --
-array_map() expects argument #1 ($callback) to be a valid callback, class 'SimpleClass' does not have a method 'non-existent'
+array_map(): Argument #1 ($callback) must be a valid callback, class 'SimpleClass' does not have a method 'non-existent'
Done