diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-01-29 20:06:13 +0100 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-02-17 14:22:17 +0100 |
commit | ac0853eb265784c4238af652de9c54c883ffa99f (patch) | |
tree | e9316872480304e9e74ce89bd15052965cc18438 /ext/standard/tests/array/array_key_exists.phpt | |
parent | 72bd55902d1908857f47555ad69458861e1acd94 (diff) | |
download | php-git-ac0853eb265784c4238af652de9c54c883ffa99f.tar.gz |
Make type error messages more consistent
Closes GH-5092
Diffstat (limited to 'ext/standard/tests/array/array_key_exists.phpt')
-rw-r--r-- | ext/standard/tests/array/array_key_exists.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/array/array_key_exists.phpt b/ext/standard/tests/array/array_key_exists.phpt index a436e7363e..0e6c6a5263 100644 --- a/ext/standard/tests/array/array_key_exists.phpt +++ b/ext/standard/tests/array/array_key_exists.phpt @@ -91,7 +91,7 @@ try { echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- *** Testing basic functionalities *** -- Iteration 1 -- bool(true) @@ -224,5 +224,5 @@ bool(true) Illegal offset type *** Testing operation on objects *** -array_key_exists() expects parameter 2 to be array, object given +array_key_exists() expects argument #2 ($array) to be of type array, object given Done |