summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/array_column_error.phpt
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-04-13 10:41:23 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-04-14 14:38:45 +0200
commit1f48feebb9be61cfd613f8fc62af87fa53bc741b (patch)
treedbe03782c5638e3f6de9f1eb287cbb724b432c1d /ext/standard/tests/array/array_column_error.phpt
parent11c5c78401b803a8292958731a66ba39528fee0f (diff)
downloadphp-git-1f48feebb9be61cfd613f8fc62af87fa53bc741b.tar.gz
Improve some TypeError and ValueError messages
Closes GH-5377
Diffstat (limited to 'ext/standard/tests/array/array_column_error.phpt')
-rw-r--r--ext/standard/tests/array/array_column_error.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/tests/array/array_column_error.phpt b/ext/standard/tests/array/array_column_error.phpt
index 6fb5169d45..547ecf91cb 100644
--- a/ext/standard/tests/array/array_column_error.phpt
+++ b/ext/standard/tests/array/array_column_error.phpt
@@ -46,15 +46,15 @@ DONE
*** Testing array_column() : error conditions ***
-- Testing array_column() column key parameter should be a string or an integer (testing bool) --
-The column key should be either a string or an integer
+array_column(): Argument #2 ($column_key) must be of type string|int, bool given
-- Testing array_column() column key parameter should be a string or integer (testing array) --
-The column key should be either a string or an integer
+array_column(): Argument #2 ($column_key) must be of type string|int, array given
-- Testing array_column() index key parameter should be a string or an integer (testing bool) --
-The index key should be either a string or an integer
+array_column(): Argument #3 ($index_key) must be of type string|int, bool given
-- Testing array_column() index key parameter should be a string or integer (testing array) --
-The index key should be either a string or an integer
+array_column(): Argument #3 ($index_key) must be of type string|int, array given
DONE