diff options
| author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-02-25 20:58:33 +0100 |
|---|---|---|
| committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-02-26 15:00:08 +0100 |
| commit | 960318ed95d17bd30c2896e2f3189ebffb965dce (patch) | |
| tree | 2890972c266dabe649a44b540869a49e41a3e450 /ext/reflection/tests/ReflectionFunction_construct.001.phpt | |
| parent | c7094d892639fedffb67c273f8fd44f3ffff86d6 (diff) | |
| download | php-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.phpt | 4 |
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 |
