summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/array_intersect_key_variation3.phpt
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-08-04 21:42:03 -0300
committerGabriel Caruso <carusogabriel34@gmail.com>2018-08-19 21:27:57 -0300
commitefbf846fd256f0cd8a745d98182cb1f95d1e57f8 (patch)
tree12b46a741111e63a034cd44d02ad34f0e812dd69 /ext/standard/tests/array/array_intersect_key_variation3.phpt
parent52ea129efb7b49aaa5c49c43d886602ee0a8d878 (diff)
downloadphp-git-efbf846fd256f0cd8a745d98182cb1f95d1e57f8.tar.gz
Make array parsing parameters error messages consistency with ZPP failure
Diffstat (limited to 'ext/standard/tests/array/array_intersect_key_variation3.phpt')
-rw-r--r--ext/standard/tests/array/array_intersect_key_variation3.phpt52
1 files changed, 26 insertions, 26 deletions
diff --git a/ext/standard/tests/array/array_intersect_key_variation3.phpt b/ext/standard/tests/array/array_intersect_key_variation3.phpt
index 8fd3d3c77f..00875ee9ff 100644
--- a/ext/standard/tests/array/array_intersect_key_variation3.phpt
+++ b/ext/standard/tests/array/array_intersect_key_variation3.phpt
@@ -105,131 +105,131 @@ fclose($fp);
--int 0--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, int given in %s on line %d
NULL
--int 1--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, int given in %s on line %d
NULL
--int 12345--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, int given in %s on line %d
NULL
--int -12345--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, int given in %s on line %d
NULL
--float 10.5--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, float given in %s on line %d
NULL
--float -10.5--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, float given in %s on line %d
NULL
--float 12.3456789000e10--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, float given in %s on line %d
NULL
--float -12.3456789000e10--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, float given in %s on line %d
NULL
--float .5--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, float given in %s on line %d
NULL
--uppercase NULL--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, null given in %s on line %d
NULL
--lowercase null--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, null given in %s on line %d
NULL
--lowercase true--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, bool given in %s on line %d
NULL
--lowercase false--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, bool given in %s on line %d
NULL
--uppercase TRUE--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, bool given in %s on line %d
NULL
--uppercase FALSE--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, bool given in %s on line %d
NULL
--empty string DQ--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, string given in %s on line %d
NULL
--empty string SQ--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, string given in %s on line %d
NULL
--string DQ--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, string given in %s on line %d
NULL
--string SQ--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, string given in %s on line %d
NULL
--mixed case string--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, string given in %s on line %d
NULL
--heredoc--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, string given in %s on line %d
NULL
--instance of classWithToString--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, object given in %s on line %d
NULL
--instance of classWithoutToString--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, object given in %s on line %d
NULL
--undefined var--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, null given in %s on line %d
NULL
--unset var--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, null given in %s on line %d
NULL
--resource var--
-Warning: array_intersect_key(): Argument #3 is not an array in %s on line %d
+Warning: array_intersect_key(): Expected parameter 3 to be an array, resource given in %s on line %d
NULL
===DONE===