summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionFunction_construct.001.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/reflection/tests/ReflectionFunction_construct.001.phpt
parentc7094d892639fedffb67c273f8fd44f3ffff86d6 (diff)
downloadphp-git-960318ed95d17bd30c2896e2f3189ebffb965dce.tar.gz
Change argument error message format
Closes GH-5211
Diffstat (limited to 'ext/reflection/tests/ReflectionFunction_construct.001.phpt')
-rw-r--r--ext/reflection/tests/ReflectionFunction_construct.001.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/reflection/tests/ReflectionFunction_construct.001.phpt b/ext/reflection/tests/ReflectionFunction_construct.001.phpt
index dbd829252b..1772ba5b68 100644
--- a/ext/reflection/tests/ReflectionFunction_construct.001.phpt
+++ b/ext/reflection/tests/ReflectionFunction_construct.001.phpt
@@ -35,8 +35,8 @@ try {
?>
--EXPECT--
-Ok - ReflectionFunction::__construct() expects argument #1 ($name) to be of type string, array given
+Ok - ReflectionFunction::__construct(): Argument #1 ($name) must be of type string, array given
Function nonExistentFunction() does not exist
Ok - ReflectionFunction::__construct() expects exactly 1 parameter, 0 given
Ok - ReflectionFunction::__construct() expects exactly 1 parameter, 2 given
-Ok - ReflectionFunction::__construct() expects argument #1 ($name) to be of type string, array given
+Ok - ReflectionFunction::__construct(): Argument #1 ($name) must be of type string, array given