summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array')
-rw-r--r--ext/standard/tests/array/array_diff_1.phpt2
-rw-r--r--ext/standard/tests/array/array_diff_assoc_variation1.phpt58
-rw-r--r--ext/standard/tests/array/array_diff_assoc_variation2.phpt58
-rw-r--r--ext/standard/tests/array/array_diff_key_variation1.phpt106
-rw-r--r--ext/standard/tests/array/array_diff_key_variation2.phpt106
-rw-r--r--ext/standard/tests/array/array_diff_uassoc_variation1.phpt54
-rw-r--r--ext/standard/tests/array/array_diff_uassoc_variation2.phpt54
-rw-r--r--ext/standard/tests/array/array_diff_ukey_variation1.phpt106
-rw-r--r--ext/standard/tests/array/array_diff_ukey_variation2.phpt106
-rw-r--r--ext/standard/tests/array/array_diff_variation1.phpt56
-rw-r--r--ext/standard/tests/array/array_diff_variation2.phpt56
-rw-r--r--ext/standard/tests/array/array_intersect_assoc_variation1.phpt116
-rw-r--r--ext/standard/tests/array/array_intersect_assoc_variation2.phpt116
-rw-r--r--ext/standard/tests/array/array_intersect_key_variation1.phpt106
-rw-r--r--ext/standard/tests/array/array_intersect_key_variation2.phpt106
-rw-r--r--ext/standard/tests/array/array_intersect_uassoc_variation1.phpt106
-rw-r--r--ext/standard/tests/array/array_intersect_uassoc_variation2.phpt106
-rw-r--r--ext/standard/tests/array/array_intersect_ukey_variation1.phpt106
-rw-r--r--ext/standard/tests/array/array_intersect_ukey_variation2.phpt106
-rw-r--r--ext/standard/tests/array/array_intersect_variation1.phpt116
-rw-r--r--ext/standard/tests/array/array_intersect_variation2.phpt116
-rw-r--r--ext/standard/tests/array/array_map_variation10.phpt6
-rw-r--r--ext/standard/tests/array/array_multisort_variation1.phpt50
-rw-r--r--ext/standard/tests/array/array_rand.phpt10
-rw-r--r--ext/standard/tests/array/array_rand_variation5.phpt8
-rw-r--r--ext/standard/tests/array/array_udiff_assoc_variation1.phpt56
-rw-r--r--ext/standard/tests/array/array_udiff_assoc_variation2.phpt56
-rw-r--r--ext/standard/tests/array/array_udiff_uassoc_variation1.phpt56
-rw-r--r--ext/standard/tests/array/array_udiff_uassoc_variation2.phpt56
-rw-r--r--ext/standard/tests/array/array_udiff_variation1.phpt56
-rw-r--r--ext/standard/tests/array/array_udiff_variation2.phpt56
-rw-r--r--ext/standard/tests/array/array_uintersect_assoc_variation1.phpt56
-rw-r--r--ext/standard/tests/array/array_uintersect_assoc_variation2.phpt56
-rw-r--r--ext/standard/tests/array/array_uintersect_uassoc_variation1.phpt56
-rw-r--r--ext/standard/tests/array/array_uintersect_uassoc_variation2.phpt56
-rw-r--r--ext/standard/tests/array/array_uintersect_variation1.phpt56
-rw-r--r--ext/standard/tests/array/array_uintersect_variation2.phpt56
-rw-r--r--ext/standard/tests/array/bug40191.phpt2
38 files changed, 1305 insertions, 1305 deletions
diff --git a/ext/standard/tests/array/array_diff_1.phpt b/ext/standard/tests/array/array_diff_1.phpt
index b936463e07..39ddfed8b0 100644
--- a/ext/standard/tests/array/array_diff_1.phpt
+++ b/ext/standard/tests/array/array_diff_1.phpt
@@ -15,5 +15,5 @@ try {
echo "OK!";
?>
--EXPECT--
-array_diff(): Argument #2 ($arr2) must be of type array, int given
+array_diff(): Argument #2 ($array2) must be of type array, int given
OK!
diff --git a/ext/standard/tests/array/array_diff_assoc_variation1.phpt b/ext/standard/tests/array/array_diff_assoc_variation1.phpt
index 2b314aec34..035b343c32 100644
--- a/ext/standard/tests/array/array_diff_assoc_variation1.phpt
+++ b/ext/standard/tests/array/array_diff_assoc_variation1.phpt
@@ -1,9 +1,9 @@
--TEST--
-Test array_diff_assoc() function : usage variations - unexpected values for 'arr1' argument
+Test array_diff_assoc() function : usage variations - unexpected values for 'array1' argument
--FILE--
<?php
/*
- * Pass array_diff_assoc arguments that are not arrays in place of $arr1
+ * Pass array_diff_assoc arguments that are not arrays in place of $array1
*/
echo "*** Testing array_diff_assoc() : usage variations ***\n";
@@ -30,7 +30,7 @@ EOT;
// get a resource variable
$fp = fopen(__FILE__, "r");
-//array of unexpected values to be passed to $arr1 argument
+//array of unexpected values to be passed to $array1 argument
$inputs = array(
// int data
@@ -100,80 +100,80 @@ echo "Done";
*** Testing array_diff_assoc() : usage variations ***
-- Iteration 1 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, int given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, int given
-- Iteration 2 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, int given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, int given
-- Iteration 3 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, int given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, int given
-- Iteration 4 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, int given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, int given
-- Iteration 5 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, float given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, float given
-- Iteration 6 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, float given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, float given
-- Iteration 7 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, float given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, float given
-- Iteration 8 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, float given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, float given
-- Iteration 9 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, float given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, float given
-- Iteration 10 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, null given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, null given
-- Iteration 11 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, null given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, null given
-- Iteration 12 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, bool given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, bool given
-- Iteration 13 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, bool given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, bool given
-- Iteration 14 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, bool given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, bool given
-- Iteration 15 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, bool given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, bool given
-- Iteration 16 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, string given
-- Iteration 17 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, string given
-- Iteration 18 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, string given
-- Iteration 19 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, string given
-- Iteration 20 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, string given
-- Iteration 21 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, string given
-- Iteration 22 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, string given
-- Iteration 23 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, classA given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, classA given
-- Iteration 24 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, null given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, null given
-- Iteration 25 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, null given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, null given
-- Iteration 26 --
-array_diff_assoc(): Argument #1 ($arr1) must be of type array, resource given
+array_diff_assoc(): Argument #1 ($array1) must be of type array, resource given
Done
diff --git a/ext/standard/tests/array/array_diff_assoc_variation2.phpt b/ext/standard/tests/array/array_diff_assoc_variation2.phpt
index 839935b294..6871540fc4 100644
--- a/ext/standard/tests/array/array_diff_assoc_variation2.phpt
+++ b/ext/standard/tests/array/array_diff_assoc_variation2.phpt
@@ -1,9 +1,9 @@
--TEST--
-Test array_diff_assoc() function : usage variations - unexpected values for 'arr1' argument
+Test array_diff_assoc() function : usage variations - unexpected values for 'array1' argument
--FILE--
<?php
/*
- * pass array_diff_assoc arguments which are not arrays in place of $arr2
+ * pass array_diff_assoc arguments which are not arrays in place of $array2
*/
echo "\n*** Testing array_diff_assoc() : usage variations ***\n";
@@ -30,7 +30,7 @@ EOT;
// get a resource variable
$fp = fopen(__FILE__, "r");
-//array of unexpected values to be passed to $arr1 argument
+//array of unexpected values to be passed to $array1 argument
$inputs = array(
// int data
@@ -100,80 +100,80 @@ echo "Done";
*** Testing array_diff_assoc() : usage variations ***
-- Iteration 1 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, int given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, int given
-- Iteration 2 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, int given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, int given
-- Iteration 3 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, int given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, int given
-- Iteration 4 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, int given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, int given
-- Iteration 5 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, float given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, float given
-- Iteration 6 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, float given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, float given
-- Iteration 7 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, float given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, float given
-- Iteration 8 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, float given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, float given
-- Iteration 9 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, float given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, float given
-- Iteration 10 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, null given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, null given
-- Iteration 11 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, null given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, null given
-- Iteration 12 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, bool given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, bool given
-- Iteration 13 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, bool given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, bool given
-- Iteration 14 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, bool given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, bool given
-- Iteration 15 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, bool given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, bool given
-- Iteration 16 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, string given
-- Iteration 17 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, string given
-- Iteration 18 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, string given
-- Iteration 19 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, string given
-- Iteration 20 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, string given
-- Iteration 21 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, string given
-- Iteration 22 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, string given
-- Iteration 23 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, classA given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, classA given
-- Iteration 24 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, null given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, null given
-- Iteration 25 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, null given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, null given
-- Iteration 26 --
-array_diff_assoc(): Argument #2 ($arr2) must be of type array, resource given
+array_diff_assoc(): Argument #2 ($array2) must be of type array, resource given
Done
diff --git a/ext/standard/tests/array/array_diff_key_variation1.phpt b/ext/standard/tests/array/array_diff_key_variation1.phpt
index a00aba2160..8159e1316d 100644
--- a/ext/standard/tests/array/array_diff_key_variation1.phpt
+++ b/ext/standard/tests/array/array_diff_key_variation1.phpt
@@ -82,7 +82,7 @@ $inputs = array(
'resource' => $fp,
);
-// loop through each element of the array for arr1
+// loop through each element of the array for array1
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
@@ -103,105 +103,105 @@ fclose($fp);
*** Testing array_diff_key() : usage variation ***
--int 0--
-array_diff_key(): Argument #1 ($arr1) must be of type array, int given
-array_diff_key(): Argument #1 ($arr1) must be of type array, int given
+array_diff_key(): Argument #1 ($array1) must be of type array, int given
+array_diff_key(): Argument #1 ($array1) must be of type array, int given
--int 1--
-array_diff_key(): Argument #1 ($arr1) must be of type array, int given
-array_diff_key(): Argument #1 ($arr1) must be of type array, int given
+array_diff_key(): Argument #1 ($array1) must be of type array, int given
+array_diff_key(): Argument #1 ($array1) must be of type array, int given
--int 12345--
-array_diff_key(): Argument #1 ($arr1) must be of type array, int given
-array_diff_key(): Argument #1 ($arr1) must be of type array, int given
+array_diff_key(): Argument #1 ($array1) must be of type array, int given
+array_diff_key(): Argument #1 ($array1) must be of type array, int given
--int -12345--
-array_diff_key(): Argument #1 ($arr1) must be of type array, int given
-array_diff_key(): Argument #1 ($arr1) must be of type array, int given
+array_diff_key(): Argument #1 ($array1) must be of type array, int given
+array_diff_key(): Argument #1 ($array1) must be of type array, int given
--float 10.5--
-array_diff_key(): Argument #1 ($arr1) must be of type array, float given
-array_diff_key(): Argument #1 ($arr1) must be of type array, float given
+array_diff_key(): Argument #1 ($array1) must be of type array, float given
+array_diff_key(): Argument #1 ($array1) must be of type array, float given
--float -10.5--
-array_diff_key(): Argument #1 ($arr1) must be of type array, float given
-array_diff_key(): Argument #1 ($arr1) must be of type array, float given
+array_diff_key(): Argument #1 ($array1) must be of type array, float given
+array_diff_key(): Argument #1 ($array1) must be of type array, float given
--float 12.3456789000e10--
-array_diff_key(): Argument #1 ($arr1) must be of type array, float given
-array_diff_key(): Argument #1 ($arr1) must be of type array, float given
+array_diff_key(): Argument #1 ($array1) must be of type array, float given
+array_diff_key(): Argument #1 ($array1) must be of type array, float given
--float -12.3456789000e10--
-array_diff_key(): Argument #1 ($arr1) must be of type array, float given
-array_diff_key(): Argument #1 ($arr1) must be of type array, float given
+array_diff_key(): Argument #1 ($array1) must be of type array, float given
+array_diff_key(): Argument #1 ($array1) must be of type array, float given
--float .5--
-array_diff_key(): Argument #1 ($arr1) must be of type array, float given
-array_diff_key(): Argument #1 ($arr1) must be of type array, float given
+array_diff_key(): Argument #1 ($array1) must be of type array, float given
+array_diff_key(): Argument #1 ($array1) must be of type array, float given
--uppercase NULL--
-array_diff_key(): Argument #1 ($arr1) must be of type array, null given
-array_diff_key(): Argument #1 ($arr1) must be of type array, null given
+array_diff_key(): Argument #1 ($array1) must be of type array, null given
+array_diff_key(): Argument #1 ($array1) must be of type array, null given
--lowercase null--
-array_diff_key(): Argument #1 ($arr1) must be of type array, null given
-array_diff_key(): Argument #1 ($arr1) must be of type array, null given
+array_diff_key(): Argument #1 ($array1) must be of type array, null given
+array_diff_key(): Argument #1 ($array1) must be of type array, null given
--lowercase true--
-array_diff_key(): Argument #1 ($arr1) must be of type array, bool given
-array_diff_key(): Argument #1 ($arr1) must be of type array, bool given
+array_diff_key(): Argument #1 ($array1) must be of type array, bool given
+array_diff_key(): Argument #1 ($array1) must be of type array, bool given
--lowercase false--
-array_diff_key(): Argument #1 ($arr1) must be of type array, bool given
-array_diff_key(): Argument #1 ($arr1) must be of type array, bool given
+array_diff_key(): Argument #1 ($array1) must be of type array, bool given
+array_diff_key(): Argument #1 ($array1) must be of type array, bool given
--uppercase TRUE--
-array_diff_key(): Argument #1 ($arr1) must be of type array, bool given
-array_diff_key(): Argument #1 ($arr1) must be of type array, bool given
+array_diff_key(): Argument #1 ($array1) must be of type array, bool given
+array_diff_key(): Argument #1 ($array1) must be of type array, bool given
--uppercase FALSE--
-array_diff_key(): Argument #1 ($arr1) must be of type array, bool given
-array_diff_key(): Argument #1 ($arr1) must be of type array, bool given
+array_diff_key(): Argument #1 ($array1) must be of type array, bool given
+array_diff_key(): Argument #1 ($array1) must be of type array, bool given
--empty string DQ--
-array_diff_key(): Argument #1 ($arr1) must be of type array, string given
-array_diff_key(): Argument #1 ($arr1) must be of type array, string given
+array_diff_key(): Argument #1 ($array1) must be of type array, string given
+array_diff_key(): Argument #1 ($array1) must be of type array, string given
--empty string SQ--
-array_diff_key(): Argument #1 ($arr1) must be of type array, string given
-array_diff_key(): Argument #1 ($arr1) must be of type array, string given
+array_diff_key(): Argument #1 ($array1) must be of type array, string given
+array_diff_key(): Argument #1 ($array1) must be of type array, string given
--string DQ--
-array_diff_key(): Argument #1 ($arr1) must be of type array, string given
-array_diff_key(): Argument #1 ($arr1) must be of type array, string given
+array_diff_key(): Argument #1 ($array1) must be of type array, string given
+array_diff_key(): Argument #1 ($array1) must be of type array, string given
--string SQ--
-array_diff_key(): Argument #1 ($arr1) must be of type array, string given
-array_diff_key(): Argument #1 ($arr1) must be of type array, string given
+array_diff_key(): Argument #1 ($array1) must be of type array, string given
+array_diff_key(): Argument #1 ($array1) must be of type array, string given
--mixed case string--
-array_diff_key(): Argument #1 ($arr1) must be of type array, string given
-array_diff_key(): Argument #1 ($arr1) must be of type array, string given
+array_diff_key(): Argument #1 ($array1) must be of type array, string given
+array_diff_key(): Argument #1 ($array1) must be of type array, string given
--heredoc--
-array_diff_key(): Argument #1 ($arr1) must be of type array, string given
-array_diff_key(): Argument #1 ($arr1) must be of type array, string given
+array_diff_key(): Argument #1 ($array1) must be of type array, string given
+array_diff_key(): Argument #1 ($array1) must be of type array, string given
--instance of classWithToString--
-array_diff_key(): Argument #1 ($arr1) must be of type array, classWithToString given
-array_diff_key(): Argument #1 ($arr1) must be of type array, classWithToString given
+array_diff_key(): Argument #1 ($array1) must be of type array, classWithToString given
+array_diff_key(): Argument #1 ($array1) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_diff_key(): Argument #1 ($arr1) must be of type array, classWithoutToString given
-array_diff_key(): Argument #1 ($arr1) must be of type array, classWithoutToString given
+array_diff_key(): Argument #1 ($array1) must be of type array, classWithoutToString given
+array_diff_key(): Argument #1 ($array1) must be of type array, classWithoutToString given
--undefined var--
-array_diff_key(): Argument #1 ($arr1) must be of type array, null given
-array_diff_key(): Argument #1 ($arr1) must be of type array, null given
+array_diff_key(): Argument #1 ($array1) must be of type array, null given
+array_diff_key(): Argument #1 ($array1) must be of type array, null given
--unset var--
-array_diff_key(): Argument #1 ($arr1) must be of type array, null given
-array_diff_key(): Argument #1 ($arr1) must be of type array, null given
+array_diff_key(): Argument #1 ($array1) must be of type array, null given
+array_diff_key(): Argument #1 ($array1) must be of type array, null given
--resource--
-array_diff_key(): Argument #1 ($arr1) must be of type array, resource given
-array_diff_key(): Argument #1 ($arr1) must be of type array, resource given
+array_diff_key(): Argument #1 ($array1) must be of type array, resource given
+array_diff_key(): Argument #1 ($array1) must be of type array, resource given
diff --git a/ext/standard/tests/array/array_diff_key_variation2.phpt b/ext/standard/tests/array/array_diff_key_variation2.phpt
index 5bd84e5008..3a404c348c 100644
--- a/ext/standard/tests/array/array_diff_key_variation2.phpt
+++ b/ext/standard/tests/array/array_diff_key_variation2.phpt
@@ -82,7 +82,7 @@ $inputs = array(
'resource' => $fp,
);
-// loop through each element of the array for arr1
+// loop through each element of the array for array1
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
@@ -104,105 +104,105 @@ fclose($fp);
*** Testing array_diff_key() : usage variation ***
--int 0--
-array_diff_key(): Argument #2 ($arr2) must be of type array, int given
-array_diff_key(): Argument #2 ($arr2) must be of type array, int given
+array_diff_key(): Argument #2 ($array2) must be of type array, int given
+array_diff_key(): Argument #2 ($array2) must be of type array, int given
--int 1--
-array_diff_key(): Argument #2 ($arr2) must be of type array, int given
-array_diff_key(): Argument #2 ($arr2) must be of type array, int given
+array_diff_key(): Argument #2 ($array2) must be of type array, int given
+array_diff_key(): Argument #2 ($array2) must be of type array, int given
--int 12345--
-array_diff_key(): Argument #2 ($arr2) must be of type array, int given
-array_diff_key(): Argument #2 ($arr2) must be of type array, int given
+array_diff_key(): Argument #2 ($array2) must be of type array, int given
+array_diff_key(): Argument #2 ($array2) must be of type array, int given
--int -12345--
-array_diff_key(): Argument #2 ($arr2) must be of type array, int given
-array_diff_key(): Argument #2 ($arr2) must be of type array, int given
+array_diff_key(): Argument #2 ($array2) must be of type array, int given
+array_diff_key(): Argument #2 ($array2) must be of type array, int given
--float 10.5--
-array_diff_key(): Argument #2 ($arr2) must be of type array, float given
-array_diff_key(): Argument #2 ($arr2) must be of type array, float given
+array_diff_key(): Argument #2 ($array2) must be of type array, float given
+array_diff_key(): Argument #2 ($array2) must be of type array, float given
--float -10.5--
-array_diff_key(): Argument #2 ($arr2) must be of type array, float given
-array_diff_key(): Argument #2 ($arr2) must be of type array, float given
+array_diff_key(): Argument #2 ($array2) must be of type array, float given
+array_diff_key(): Argument #2 ($array2) must be of type array, float given
--float 12.3456789000e10--
-array_diff_key(): Argument #2 ($arr2) must be of type array, float given
-array_diff_key(): Argument #2 ($arr2) must be of type array, float given
+array_diff_key(): Argument #2 ($array2) must be of type array, float given
+array_diff_key(): Argument #2 ($array2) must be of type array, float given
--float -12.3456789000e10--
-array_diff_key(): Argument #2 ($arr2) must be of type array, float given
-array_diff_key(): Argument #2 ($arr2) must be of type array, float given
+array_diff_key(): Argument #2 ($array2) must be of type array, float given
+array_diff_key(): Argument #2 ($array2) must be of type array, float given
--float .5--
-array_diff_key(): Argument #2 ($arr2) must be of type array, float given
-array_diff_key(): Argument #2 ($arr2) must be of type array, float given
+array_diff_key(): Argument #2 ($array2) must be of type array, float given
+array_diff_key(): Argument #2 ($array2) must be of type array, float given
--uppercase NULL--
-array_diff_key(): Argument #2 ($arr2) must be of type array, null given
-array_diff_key(): Argument #2 ($arr2) must be of type array, null given
+array_diff_key(): Argument #2 ($array2) must be of type array, null given
+array_diff_key(): Argument #2 ($array2) must be of type array, null given
--lowercase null--
-array_diff_key(): Argument #2 ($arr2) must be of type array, null given
-array_diff_key(): Argument #2 ($arr2) must be of type array, null given
+array_diff_key(): Argument #2 ($array2) must be of type array, null given
+array_diff_key(): Argument #2 ($array2) must be of type array, null given
--lowercase true--
-array_diff_key(): Argument #2 ($arr2) must be of type array, bool given
-array_diff_key(): Argument #2 ($arr2) must be of type array, bool given
+array_diff_key(): Argument #2 ($array2) must be of type array, bool given
+array_diff_key(): Argument #2 ($array2) must be of type array, bool given
--lowercase false--
-array_diff_key(): Argument #2 ($arr2) must be of type array, bool given
-array_diff_key(): Argument #2 ($arr2) must be of type array, bool given
+array_diff_key(): Argument #2 ($array2) must be of type array, bool given
+array_diff_key(): Argument #2 ($array2) must be of type array, bool given
--uppercase TRUE--
-array_diff_key(): Argument #2 ($arr2) must be of type array, bool given
-array_diff_key(): Argument #2 ($arr2) must be of type array, bool given
+array_diff_key(): Argument #2 ($array2) must be of type array, bool given
+array_diff_key(): Argument #2 ($array2) must be of type array, bool given
--uppercase FALSE--
-array_diff_key(): Argument #2 ($arr2) must be of type array, bool given
-array_diff_key(): Argument #2 ($arr2) must be of type array, bool given
+array_diff_key(): Argument #2 ($array2) must be of type array, bool given
+array_diff_key(): Argument #2 ($array2) must be of type array, bool given
--empty string DQ--
-array_diff_key(): Argument #2 ($arr2) must be of type array, string given
-array_diff_key(): Argument #2 ($arr2) must be of type array, string given
+array_diff_key(): Argument #2 ($array2) must be of type array, string given
+array_diff_key(): Argument #2 ($array2) must be of type array, string given
--empty string SQ--
-array_diff_key(): Argument #2 ($arr2) must be of type array, string given
-array_diff_key(): Argument #2 ($arr2) must be of type array, string given
+array_diff_key(): Argument #2 ($array2) must be of type array, string given
+array_diff_key(): Argument #2 ($array2) must be of type array, string given
--string DQ--
-array_diff_key(): Argument #2 ($arr2) must be of type array, string given
-array_diff_key(): Argument #2 ($arr2) must be of type array, string given
+array_diff_key(): Argument #2 ($array2) must be of type array, string given
+array_diff_key(): Argument #2 ($array2) must be of type array, string given
--string SQ--
-array_diff_key(): Argument #2 ($arr2) must be of type array, string given
-array_diff_key(): Argument #2 ($arr2) must be of type array, string given
+array_diff_key(): Argument #2 ($array2) must be of type array, string given
+array_diff_key(): Argument #2 ($array2) must be of type array, string given
--mixed case string--
-array_diff_key(): Argument #2 ($arr2) must be of type array, string given
-array_diff_key(): Argument #2 ($arr2) must be of type array, string given
+array_diff_key(): Argument #2 ($array2) must be of type array, string given
+array_diff_key(): Argument #2 ($array2) must be of type array, string given
--heredoc--
-array_diff_key(): Argument #2 ($arr2) must be of type array, string given
-array_diff_key(): Argument #2 ($arr2) must be of type array, string given
+array_diff_key(): Argument #2 ($array2) must be of type array, string given
+array_diff_key(): Argument #2 ($array2) must be of type array, string given
--instance of classWithToString--
-array_diff_key(): Argument #2 ($arr2) must be of type array, classWithToString given
-array_diff_key(): Argument #2 ($arr2) must be of type array, classWithToString given
+array_diff_key(): Argument #2 ($array2) must be of type array, classWithToString given
+array_diff_key(): Argument #2 ($array2) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_diff_key(): Argument #2 ($arr2) must be of type array, classWithoutToString given
-array_diff_key(): Argument #2 ($arr2) must be of type array, classWithoutToString given
+array_diff_key(): Argument #2 ($array2) must be of type array, classWithoutToString given
+array_diff_key(): Argument #2 ($array2) must be of type array, classWithoutToString given
--undefined var--
-array_diff_key(): Argument #2 ($arr2) must be of type array, null given
-array_diff_key(): Argument #2 ($arr2) must be of type array, null given
+array_diff_key(): Argument #2 ($array2) must be of type array, null given
+array_diff_key(): Argument #2 ($array2) must be of type array, null given
--unset var--
-array_diff_key(): Argument #2 ($arr2) must be of type array, null given
-array_diff_key(): Argument #2 ($arr2) must be of type array, null given
+array_diff_key(): Argument #2 ($array2) must be of type array, null given
+array_diff_key(): Argument #2 ($array2) must be of type array, null given
--resource--
-array_diff_key(): Argument #2 ($arr2) must be of type array, resource given
-array_diff_key(): Argument #2 ($arr2) must be of type array, resource given
+array_diff_key(): Argument #2 ($array2) must be of type array, resource given
+array_diff_key(): Argument #2 ($array2) must be of type array, resource given
diff --git a/ext/standard/tests/array/array_diff_uassoc_variation1.phpt b/ext/standard/tests/array/array_diff_uassoc_variation1.phpt
index f07b054ae9..a5e31d44a4 100644
--- a/ext/standard/tests/array/array_diff_uassoc_variation1.phpt
+++ b/ext/standard/tests/array/array_diff_uassoc_variation1.phpt
@@ -93,7 +93,7 @@ $inputs = array(
'resource' => $fp,
);
-// loop through each element of the array for arr1
+// loop through each element of the array for array1
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
@@ -110,79 +110,79 @@ fclose($fp);
*** Testing array_diff_uassoc() : usage variation ***
--int 0--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, int given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, int given
--int 1--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, int given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, int given
--int 12345--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, int given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, int given
--int -12345--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, int given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, int given
--float 10.5--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, float given
--float -10.5--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, float given
--float 12.3456789000e10--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, float given
--float -12.3456789000e10--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, float given
--float .5--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, float given
--uppercase NULL--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, null given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, null given
--lowercase null--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, null given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, null given
--lowercase true--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, bool given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, bool given
--lowercase false--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, bool given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, bool given
--uppercase TRUE--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, bool given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, bool given
--uppercase FALSE--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, bool given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, bool given
--empty string DQ--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, string given
--empty string SQ--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, string given
--string DQ--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, string given
--string SQ--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, string given
--mixed case string--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, string given
--heredoc--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, string given
--instance of classWithToString--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, classWithToString given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, classWithoutToString given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, classWithoutToString given
--undefined var--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, null given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, null given
--unset var--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, null given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, null given
--resource--
-array_diff_uassoc(): Argument #1 ($arr1) must be of type array, resource given
+array_diff_uassoc(): Argument #1 ($array1) must be of type array, resource given
diff --git a/ext/standard/tests/array/array_diff_uassoc_variation2.phpt b/ext/standard/tests/array/array_diff_uassoc_variation2.phpt
index 1a7f09dac0..da8dd6650d 100644
--- a/ext/standard/tests/array/array_diff_uassoc_variation2.phpt
+++ b/ext/standard/tests/array/array_diff_uassoc_variation2.phpt
@@ -93,7 +93,7 @@ $inputs = array(
'resource' => $fp,
);
-// loop through each element of the array for arr2
+// loop through each element of the array for array2
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
@@ -110,79 +110,79 @@ fclose($fp);
*** Testing array_diff_uassoc() : usage variation ***
--int 0--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, int given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, int given
--int 1--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, int given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, int given
--int 12345--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, int given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, int given
--int -12345--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, int given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, int given
--float 10.5--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, float given
--float -10.5--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, float given
--float 12.3456789000e10--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, float given
--float -12.3456789000e10--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, float given
--float .5--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, float given
--uppercase NULL--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, null given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, null given
--lowercase null--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, null given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, null given
--lowercase true--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, bool given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, bool given
--lowercase false--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, bool given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, bool given
--uppercase TRUE--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, bool given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, bool given
--uppercase FALSE--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, bool given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, bool given
--empty string DQ--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, string given
--empty string SQ--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, string given
--string DQ--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, string given
--string SQ--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, string given
--mixed case string--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, string given
--heredoc--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, string given
--instance of classWithToString--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, classWithToString given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, classWithoutToString given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, classWithoutToString given
--undefined var--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, null given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, null given
--unset var--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, null given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, null given
--resource--
-array_diff_uassoc(): Argument #2 ($arr2) must be of type array, resource given
+array_diff_uassoc(): Argument #2 ($array2) must be of type array, resource given
diff --git a/ext/standard/tests/array/array_diff_ukey_variation1.phpt b/ext/standard/tests/array/array_diff_ukey_variation1.phpt
index e7d1361a66..ab82d3f877 100644
--- a/ext/standard/tests/array/array_diff_ukey_variation1.phpt
+++ b/ext/standard/tests/array/array_diff_ukey_variation1.phpt
@@ -90,7 +90,7 @@ $inputs = array(
'resource' => $fp,
);
-// loop through each element of the array for arr1
+// loop through each element of the array for array1
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
@@ -111,105 +111,105 @@ fclose($fp);
*** Testing array_diff_ukey() : usage variation ***
--int 0--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, int given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, int given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, int given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, int given
--int 1--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, int given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, int given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, int given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, int given
--int 12345--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, int given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, int given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, int given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, int given
--int -12345--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, int given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, int given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, int given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, int given
--float 10.5--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, float given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, float given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, float given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, float given
--float -10.5--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, float given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, float given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, float given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, float given
--float 12.3456789000e10--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, float given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, float given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, float given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, float given
--float -12.3456789000e10--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, float given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, float given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, float given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, float given
--float .5--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, float given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, float given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, float given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, float given
--uppercase NULL--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, null given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, null given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, null given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, null given
--lowercase null--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, null given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, null given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, null given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, null given
--lowercase true--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, bool given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, bool given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, bool given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, bool given
--lowercase false--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, bool given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, bool given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, bool given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, bool given
--uppercase TRUE--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, bool given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, bool given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, bool given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, bool given
--uppercase FALSE--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, bool given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, bool given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, bool given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, bool given
--empty string DQ--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, string given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, string given
--empty string SQ--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, string given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, string given
--string DQ--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, string given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, string given
--string SQ--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, string given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, string given
--mixed case string--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, string given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, string given
--heredoc--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, string given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, string given
--instance of classWithToString--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, classWithToString given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, classWithToString given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, classWithToString given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, classWithoutToString given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, classWithoutToString given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, classWithoutToString given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, classWithoutToString given
--undefined var--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, null given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, null given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, null given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, null given
--unset var--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, null given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, null given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, null given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, null given
--resource--
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, resource given
-array_diff_ukey(): Argument #1 ($arr1) must be of type array, resource given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, resource given
+array_diff_ukey(): Argument #1 ($array1) must be of type array, resource given
diff --git a/ext/standard/tests/array/array_diff_ukey_variation2.phpt b/ext/standard/tests/array/array_diff_ukey_variation2.phpt
index 44b22e5297..d99aaa3d9b 100644
--- a/ext/standard/tests/array/array_diff_ukey_variation2.phpt
+++ b/ext/standard/tests/array/array_diff_ukey_variation2.phpt
@@ -93,7 +93,7 @@ $inputs = array(
);
-// loop through each element of the array for arr2
+// loop through each element of the array for array2
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
@@ -115,105 +115,105 @@ fclose($fp);
*** Testing array_diff_ukey() : usage variation ***
--int 0--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, int given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, int given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, int given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, int given
--int 1--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, int given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, int given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, int given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, int given
--int 12345--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, int given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, int given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, int given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, int given
--int -12345--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, int given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, int given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, int given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, int given
--float 10.5--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, float given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, float given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, float given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, float given
--float -10.5--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, float given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, float given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, float given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, float given
--float 12.3456789000e10--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, float given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, float given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, float given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, float given
--float -12.3456789000e10--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, float given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, float given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, float given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, float given
--float .5--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, float given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, float given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, float given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, float given
--uppercase NULL--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, null given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, null given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, null given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, null given
--lowercase null--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, null given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, null given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, null given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, null given
--lowercase true--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, bool given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, bool given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, bool given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, bool given
--lowercase false--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, bool given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, bool given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, bool given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, bool given
--uppercase TRUE--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, bool given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, bool given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, bool given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, bool given
--uppercase FALSE--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, bool given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, bool given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, bool given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, bool given
--empty string DQ--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, string given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, string given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, string given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, string given
--empty string SQ--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, string given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, string given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, string given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, string given
--string DQ--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, string given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, string given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, string given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, string given
--string SQ--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, string given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, string given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, string given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, string given
--mixed case string--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, string given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, string given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, string given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, string given
--heredoc--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, string given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, string given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, string given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, string given
--instance of classWithToString--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, classWithToString given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, classWithToString given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, classWithToString given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, classWithoutToString given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, classWithoutToString given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, classWithoutToString given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, classWithoutToString given
--undefined var--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, null given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, null given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, null given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, null given
--unset var--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, null given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, null given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, null given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, null given
--resource--
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, resource given
-array_diff_ukey(): Argument #2 ($arr2) must be of type array, resource given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, resource given
+array_diff_ukey(): Argument #2 ($array2) must be of type array, resource given
diff --git a/ext/standard/tests/array/array_diff_variation1.phpt b/ext/standard/tests/array/array_diff_variation1.phpt
index 28c1211841..c7909ab196 100644
--- a/ext/standard/tests/array/array_diff_variation1.phpt
+++ b/ext/standard/tests/array/array_diff_variation1.phpt
@@ -1,9 +1,9 @@
--TEST--
-Test array_diff() function : usage variations - unexpected values for 'arr1' argument
+Test array_diff() function : usage variations - unexpected values for 'array1' argument
--FILE--
<?php
/*
- * Test array_diff by passing non array values in place of $arr1
+ * Test array_diff by passing non array values in place of $array1
*/
echo "*** Testing array_diff() : usage variations ***\n";
@@ -100,55 +100,55 @@ echo "Done";
--EXPECT--
*** Testing array_diff() : usage variations ***
--- Iteration 1 --array_diff(): Argument #1 ($arr1) must be of type array, int given
+-- Iteration 1 --array_diff(): Argument #1 ($array1) must be of type array, int given
--- Iteration 2 --array_diff(): Argument #1 ($arr1) must be of type array, int given
+-- Iteration 2 --array_diff(): Argument #1 ($array1) must be of type array, int given
--- Iteration 3 --array_diff(): Argument #1 ($arr1) must be of type array, int given
+-- Iteration 3 --array_diff(): Argument #1 ($array1) must be of type array, int given
--- Iteration 4 --array_diff(): Argument #1 ($arr1) must be of type array, int given
+-- Iteration 4 --array_diff(): Argument #1 ($array1) must be of type array, int given
--- Iteration 5 --array_diff(): Argument #1 ($arr1) must be of type array, float given
+-- Iteration 5 --array_diff(): Argument #1 ($array1) must be of type array, float given
--- Iteration 6 --array_diff(): Argument #1 ($arr1) must be of type array, float given
+-- Iteration 6 --array_diff(): Argument #1 ($array1) must be of type array, float given
--- Iteration 7 --array_diff(): Argument #1 ($arr1) must be of type array, float given
+-- Iteration 7 --array_diff(): Argument #1 ($array1) must be of type array, float given
--- Iteration 8 --array_diff(): Argument #1 ($arr1) must be of type array, float given
+-- Iteration 8 --array_diff(): Argument #1 ($array1) must be of type array, float given
--- Iteration 9 --array_diff(): Argument #1 ($arr1) must be of type array, float given
+-- Iteration 9 --array_diff(): Argument #1 ($array1) must be of type array, float given
--- Iteration 10 --array_diff(): Argument #1 ($arr1) must be of type array, null given
+-- Iteration 10 --array_diff(): Argument #1 ($array1) must be of type array, null given
--- Iteration 11 --array_diff(): Argument #1 ($arr1) must be of type array, null given
+-- Iteration 11 --array_diff(): Argument #1 ($array1) must be of type array, null given
--- Iteration 12 --array_diff(): Argument #1 ($arr1) must be of type array, bool given
+-- Iteration 12 --array_diff(): Argument #1 ($array1) must be of type array, bool given
--- Iteration 13 --array_diff(): Argument #1 ($arr1) must be of type array, bool given
+-- Iteration 13 --array_diff(): Argument #1 ($array1) must be of type array, bool given
--- Iteration 14 --array_diff(): Argument #1 ($arr1) must be of type array, bool given
+-- Iteration 14 --array_diff(): Argument #1 ($array1) must be of type array, bool given
--- Iteration 15 --array_diff(): Argument #1 ($arr1) must be of type array, bool given
+-- Iteration 15 --array_diff(): Argument #1 ($array1) must be of type array, bool given
--- Iteration 16 --array_diff(): Argument #1 ($arr1) must be of type array, string given
+-- Iteration 16 --array_diff(): Argument #1 ($array1) must be of type array, string given
--- Iteration 17 --array_diff(): Argument #1 ($arr1) must be of type array, string given
+-- Iteration 17 --array_diff(): Argument #1 ($array1) must be of type array, string given
--- Iteration 18 --array_diff(): Argument #1 ($arr1) must be of type array, string given
+-- Iteration 18 --array_diff(): Argument #1 ($array1) must be of type array, string given
--- Iteration 19 --array_diff(): Argument #1 ($arr1) must be of type array, string given
+-- Iteration 19 --array_diff(): Argument #1 ($array1) must be of type array, string given
--- Iteration 20 --array_diff(): Argument #1 ($arr1) must be of type array, string given
+-- Iteration 20 --array_diff(): Argument #1 ($array1) must be of type array, string given
--- Iteration 21 --array_diff(): Argument #1 ($arr1) must be of type array, string given
+-- Iteration 21 --array_diff(): Argument #1 ($array1) must be of type array, string given
--- Iteration 22 --array_diff(): Argument #1 ($arr1) must be of type array, string given
+-- Iteration 22 --array_diff(): Argument #1 ($array1) must be of type array, string given
--- Iteration 23 --array_diff(): Argument #1 ($arr1) must be of type array, classA given
+-- Iteration 23 --array_diff(): Argument #1 ($array1) must be of type array, classA given
--- Iteration 24 --array_diff(): Argument #1 ($arr1) must be of type array, null given
+-- Iteration 24 --array_diff(): Argument #1 ($array1) must be of type array, null given
--- Iteration 25 --array_diff(): Argument #1 ($arr1) must be of type array, null given
+-- Iteration 25 --array_diff(): Argument #1 ($array1) must be of type array, null given
--- Iteration 26 --array_diff(): Argument #1 ($arr1) must be of type array, resource given
+-- Iteration 26 --array_diff(): Argument #1 ($array1) must be of type array, resource given
Done
diff --git a/ext/standard/tests/array/array_diff_variation2.phpt b/ext/standard/tests/array/array_diff_variation2.phpt
index 95898e437d..470c6b38c4 100644
--- a/ext/standard/tests/array/array_diff_variation2.phpt
+++ b/ext/standard/tests/array/array_diff_variation2.phpt
@@ -1,9 +1,9 @@
--TEST--
-Test array_diff() function : usage variations - unexpected values for 'arr2' argument
+Test array_diff() function : usage variations - unexpected values for 'array2' argument
--FILE--
<?php
/*
- * Test array_diff by passing non array values in place of $arr2
+ * Test array_diff by passing non array values in place of $array2
*/
echo "*** Testing array_diff() : usage variations ***\n";
@@ -99,55 +99,55 @@ echo "Done";
--EXPECT--
*** Testing array_diff() : usage variations ***
--- Iteration 1 --array_diff(): Argument #2 ($arr2) must be of type array, int given
+-- Iteration 1 --array_diff(): Argument #2 ($array2) must be of type array, int given
--- Iteration 2 --array_diff(): Argument #2 ($arr2) must be of type array, int given
+-- Iteration 2 --array_diff(): Argument #2 ($array2) must be of type array, int given
--- Iteration 3 --array_diff(): Argument #2 ($arr2) must be of type array, int given
+-- Iteration 3 --array_diff(): Argument #2 ($array2) must be of type array, int given
--- Iteration 4 --array_diff(): Argument #2 ($arr2) must be of type array, int given
+-- Iteration 4 --array_diff(): Argument #2 ($array2) must be of type array, int given
--- Iteration 5 --array_diff(): Argument #2 ($arr2) must be of type array, float given
+-- Iteration 5 --array_diff(): Argument #2 ($array2) must be of type array, float given
--- Iteration 6 --array_diff(): Argument #2 ($arr2) must be of type array, float given
+-- Iteration 6 --array_diff(): Argument #2 ($array2) must be of type array, float given
--- Iteration 7 --array_diff(): Argument #2 ($arr2) must be of type array, float given
+-- Iteration 7 --array_diff(): Argument #2 ($array2) must be of type array, float given
--- Iteration 8 --array_diff(): Argument #2 ($arr2) must be of type array, float given
+-- Iteration 8 --array_diff(): Argument #2 ($array2) must be of type array, float given
--- Iteration 9 --array_diff(): Argument #2 ($arr2) must be of type array, float given
+-- Iteration 9 --array_diff(): Argument #2 ($array2) must be of type array, float given
--- Iteration 10 --array_diff(): Argument #2 ($arr2) must be of type array, null given
+-- Iteration 10 --array_diff(): Argument #2 ($array2) must be of type array, null given
--- Iteration 11 --array_diff(): Argument #2 ($arr2) must be of type array, null given
+-- Iteration 11 --array_diff(): Argument #2 ($array2) must be of type array, null given
--- Iteration 12 --array_diff(): Argument #2 ($arr2) must be of type array, bool given
+-- Iteration 12 --array_diff(): Argument #2 ($array2) must be of type array, bool given
--- Iteration 13 --array_diff(): Argument #2 ($arr2) must be of type array, bool given
+-- Iteration 13 --array_diff(): Argument #2 ($array2) must be of type array, bool given
--- Iteration 14 --array_diff(): Argument #2 ($arr2) must be of type array, bool given
+-- Iteration 14 --array_diff(): Argument #2 ($array2) must be of type array, bool given
--- Iteration 15 --array_diff(): Argument #2 ($arr2) must be of type array, bool given
+-- Iteration 15 --array_diff(): Argument #2 ($array2) must be of type array, bool given
--- Iteration 16 --array_diff(): Argument #2 ($arr2) must be of type array, string given
+-- Iteration 16 --array_diff(): Argument #2 ($array2) must be of type array, string given
--- Iteration 17 --array_diff(): Argument #2 ($arr2) must be of type array, string given
+-- Iteration 17 --array_diff(): Argument #2 ($array2) must be of type array, string given
--- Iteration 18 --array_diff(): Argument #2 ($arr2) must be of type array, string given
+-- Iteration 18 --array_diff(): Argument #2 ($array2) must be of type array, string given
--- Iteration 19 --array_diff(): Argument #2 ($arr2) must be of type array, string given
+-- Iteration 19 --array_diff(): Argument #2 ($array2) must be of type array, string given
--- Iteration 20 --array_diff(): Argument #2 ($arr2) must be of type array, string given
+-- Iteration 20 --array_diff(): Argument #2 ($array2) must be of type array, string given
--- Iteration 21 --array_diff(): Argument #2 ($arr2) must be of type array, string given
+-- Iteration 21 --array_diff(): Argument #2 ($array2) must be of type array, string given
--- Iteration 22 --array_diff(): Argument #2 ($arr2) must be of type array, string given
+-- Iteration 22 --array_diff(): Argument #2 ($array2) must be of type array, string given
--- Iteration 23 --array_diff(): Argument #2 ($arr2) must be of type array, classA given
+-- Iteration 23 --array_diff(): Argument #2 ($array2) must be of type array, classA given
--- Iteration 24 --array_diff(): Argument #2 ($arr2) must be of type array, null given
+-- Iteration 24 --array_diff(): Argument #2 ($array2) must be of type array, null given
--- Iteration 25 --array_diff(): Argument #2 ($arr2) must be of type array, null given
+-- Iteration 25 --array_diff(): Argument #2 ($array2) must be of type array, null given
--- Iteration 26 --array_diff(): Argument #2 ($arr2) must be of type array, resource given
+-- Iteration 26 --array_diff(): Argument #2 ($array2) must be of type array, resource given
Done
diff --git a/ext/standard/tests/array/array_intersect_assoc_variation1.phpt b/ext/standard/tests/array/array_intersect_assoc_variation1.phpt
index 8e70444ce3..2bae7fb4a9 100644
--- a/ext/standard/tests/array/array_intersect_assoc_variation1.phpt
+++ b/ext/standard/tests/array/array_intersect_assoc_variation1.phpt
@@ -1,17 +1,17 @@
--TEST--
-Test array_intersect_assoc() function : usage variations - unexpected values for 'arr1' argument(Bug#43196)
+Test array_intersect_assoc() function : usage variations - unexpected values for 'array1' argument(Bug#43196)
--FILE--
<?php
/*
-* Testing array_intersect_assoc() function by passing values to $arr1 argument other than arrays
+* Testing array_intersect_assoc() function by passing values to $array1 argument other than arrays
* and see that function emits proper warning messages wherever expected.
-* The $arr2 argument passed is a fixed array.
+* The $array2 argument passed is a fixed array.
*/
-echo "*** Testing array_intersect_assoc() : Passing non-array values to \$arr1 argument ***\n";
+echo "*** Testing array_intersect_assoc() : Passing non-array values to \$array1 argument ***\n";
-// array to be passsed to $arr2 as default argument
-$arr2 = array(1, 2);
+// array to be passsed to $array2 as default argument
+$array2 = array(1, 2);
// additional array to be passed for intersection
$arr3 = array(1, 2, "one" => 1, "two" => 2);
@@ -36,7 +36,7 @@ EOT;
// get a resource variable
$fp = fopen(__FILE__, "r");
-// unexpected values to be passed to $arr1 argument
+// unexpected values to be passed to $array1 argument
$arrays = array(
// int data
@@ -91,14 +91,14 @@ foreach($arrays as $unexpected_value) {
// Calling array_intersect_assoc() with default arguments
try {
- var_dump( array_intersect_assoc($unexpected_value, $arr2) );
+ var_dump( array_intersect_assoc($unexpected_value, $array2) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
// Calling array_intersect_assoc() with more arguments
try {
- var_dump( array_intersect_assoc($unexpected_value, $arr2, $arr3) );
+ var_dump( array_intersect_assoc($unexpected_value, $array2, $arr3) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
@@ -111,77 +111,77 @@ fclose($fp);
echo "Done";
?>
--EXPECT--
-*** Testing array_intersect_assoc() : Passing non-array values to $arr1 argument ***
+*** Testing array_intersect_assoc() : Passing non-array values to $array1 argument ***
--- Iteration 1 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, int given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, int given
+-- Iteration 1 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, int given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, int given
--- Iteration 2 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, int given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, int given
+-- Iteration 2 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, int given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, int given
--- Iteration 3 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, int given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, int given
+-- Iteration 3 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, int given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, int given
--- Iteration 4 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, int given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, int given
+-- Iteration 4 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, int given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, int given
--- Iteration 5 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, float given
+-- Iteration 5 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, float given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, float given
--- Iteration 6 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, float given
+-- Iteration 6 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, float given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, float given
--- Iteration 7 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, float given
+-- Iteration 7 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, float given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, float given
--- Iteration 8 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, float given
+-- Iteration 8 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, float given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, float given
--- Iteration 9 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, float given
+-- Iteration 9 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, float given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, float given
--- Iteration 10 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, null given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, null given
+-- Iteration 10 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, null given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, null given
--- Iteration 11 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, null given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, null given
+-- Iteration 11 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, null given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, null given
--- Iteration 12 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, bool given
+-- Iteration 12 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, bool given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, bool given
--- Iteration 13 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, bool given
+-- Iteration 13 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, bool given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, bool given
--- Iteration 14 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, bool given
+-- Iteration 14 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, bool given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, bool given
--- Iteration 15 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, bool given
+-- Iteration 15 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, bool given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, bool given
--- Iteration 16 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, string given
+-- Iteration 16 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, string given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, string given
--- Iteration 17 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, string given
+-- Iteration 17 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, string given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, string given
--- Iteration 18 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, string given
+-- Iteration 18 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, string given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, string given
--- Iteration 19 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, string given
+-- Iteration 19 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, string given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, string given
--- Iteration 20 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, string given
+-- Iteration 20 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, string given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, string given
--- Iteration 21 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, classA given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, classA given
+-- Iteration 21 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, classA given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, classA given
--- Iteration 22 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, null given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, null given
+-- Iteration 22 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, null given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, null given
--- Iteration 23 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, null given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, null given
+-- Iteration 23 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, null given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, null given
--- Iteration 24 --array_intersect_assoc(): Argument #1 ($arr1) must be of type array, resource given
-array_intersect_assoc(): Argument #1 ($arr1) must be of type array, resource given
+-- Iteration 24 --array_intersect_assoc(): Argument #1 ($array1) must be of type array, resource given
+array_intersect_assoc(): Argument #1 ($array1) must be of type array, resource given
Done
diff --git a/ext/standard/tests/array/array_intersect_assoc_variation2.phpt b/ext/standard/tests/array/array_intersect_assoc_variation2.phpt
index d3e1eae3e1..21ff13cc54 100644
--- a/ext/standard/tests/array/array_intersect_assoc_variation2.phpt
+++ b/ext/standard/tests/array/array_intersect_assoc_variation2.phpt
@@ -1,17 +1,17 @@
--TEST--
-Test array_intersect_assoc() function : usage variations - unexpected values for 'arr2' argument(Bug#43196)
+Test array_intersect_assoc() function : usage variations - unexpected values for 'array2' argument(Bug#43196)
--FILE--
<?php
/*
-* Testing array_intersect_assoc() function by passing values to $arr2 argument other than arrays
+* Testing array_intersect_assoc() function by passing values to $array2 argument other than arrays
* and see that function emits proper warning messages wherever expected.
-* The $arr1 argument passed is a fixed array.
+* The $array1 argument passed is a fixed array.
*/
-echo "*** Testing array_intersect_assoc() : Passing non-array values to \$arr2 argument ***\n";
+echo "*** Testing array_intersect_assoc() : Passing non-array values to \$array2 argument ***\n";
-// array to be passsed to $arr1 as default argument
-$arr1 = array(1, 2);
+// array to be passsed to $array1 as default argument
+$array1 = array(1, 2);
// additional array to be passed for intersection
$arr3 = array(1, 2, "one" => 1, "two" => 2);
@@ -36,7 +36,7 @@ EOT;
// get a resource variable
$fp = fopen(__FILE__, "r");
-// unexpected values to be passed to $arr2 argument
+// unexpected values to be passed to $array2 argument
$arrays = array(
// int data
@@ -91,14 +91,14 @@ foreach($arrays as $unexpected_value) {
// Calling array_intersect_assoc() with default arguments
try {
- var_dump( array_intersect_assoc($arr1,$unexpected_value) );
+ var_dump( array_intersect_assoc($array1,$unexpected_value) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
// Calling array_intersect_assoc() with more arguments
try {
- var_dump( array_intersect_assoc($arr1, $unexpected_value, $arr3) );
+ var_dump( array_intersect_assoc($array1, $unexpected_value, $arr3) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
@@ -112,77 +112,77 @@ fclose($fp);
echo "Done";
?>
--EXPECT--
-*** Testing array_intersect_assoc() : Passing non-array values to $arr2 argument ***
+*** Testing array_intersect_assoc() : Passing non-array values to $array2 argument ***
--- Iteration 1 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, int given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, int given
+-- Iteration 1 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, int given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, int given
--- Iteration 2 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, int given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, int given
+-- Iteration 2 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, int given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, int given
--- Iteration 3 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, int given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, int given
+-- Iteration 3 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, int given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, int given
--- Iteration 4 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, int given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, int given
+-- Iteration 4 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, int given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, int given
--- Iteration 5 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, float given
+-- Iteration 5 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, float given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, float given
--- Iteration 6 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, float given
+-- Iteration 6 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, float given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, float given
--- Iteration 7 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, float given
+-- Iteration 7 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, float given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, float given
--- Iteration 8 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, float given
+-- Iteration 8 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, float given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, float given
--- Iteration 9 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, float given
+-- Iteration 9 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, float given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, float given
--- Iteration 10 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, null given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, null given
+-- Iteration 10 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, null given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, null given
--- Iteration 11 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, null given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, null given
+-- Iteration 11 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, null given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, null given
--- Iteration 12 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, bool given
+-- Iteration 12 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, bool given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, bool given
--- Iteration 13 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, bool given
+-- Iteration 13 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, bool given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, bool given
--- Iteration 14 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, bool given
+-- Iteration 14 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, bool given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, bool given
--- Iteration 15 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, bool given
+-- Iteration 15 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, bool given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, bool given
--- Iteration 16 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, string given
+-- Iteration 16 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, string given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, string given
--- Iteration 17 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, string given
+-- Iteration 17 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, string given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, string given
--- Iteration 18 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, string given
+-- Iteration 18 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, string given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, string given
--- Iteration 19 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, string given
+-- Iteration 19 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, string given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, string given
--- Iteration 20 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, string given
+-- Iteration 20 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, string given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, string given
--- Iteration 21 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, classA given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, classA given
+-- Iteration 21 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, classA given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, classA given
--- Iteration 22 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, null given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, null given
+-- Iteration 22 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, null given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, null given
--- Iteration 23 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, null given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, null given
+-- Iteration 23 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, null given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, null given
--- Iteration 24 --array_intersect_assoc(): Argument #2 ($arr2) must be of type array, resource given
-array_intersect_assoc(): Argument #2 ($arr2) must be of type array, resource given
+-- Iteration 24 --array_intersect_assoc(): Argument #2 ($array2) must be of type array, resource given
+array_intersect_assoc(): Argument #2 ($array2) must be of type array, resource given
Done
diff --git a/ext/standard/tests/array/array_intersect_key_variation1.phpt b/ext/standard/tests/array/array_intersect_key_variation1.phpt
index 2e43094d20..cdf9938984 100644
--- a/ext/standard/tests/array/array_intersect_key_variation1.phpt
+++ b/ext/standard/tests/array/array_intersect_key_variation1.phpt
@@ -86,7 +86,7 @@ $inputs = array(
'resource var' => $fp,
);
-// loop through each element of the array for arr1
+// loop through each element of the array for array1
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
@@ -107,105 +107,105 @@ fclose($fp);
*** Testing array_intersect_key() : usage variation ***
--int 0--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, int given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, int given
+array_intersect_key(): Argument #1 ($array1) must be of type array, int given
+array_intersect_key(): Argument #1 ($array1) must be of type array, int given
--int 1--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, int given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, int given
+array_intersect_key(): Argument #1 ($array1) must be of type array, int given
+array_intersect_key(): Argument #1 ($array1) must be of type array, int given
--int 12345--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, int given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, int given
+array_intersect_key(): Argument #1 ($array1) must be of type array, int given
+array_intersect_key(): Argument #1 ($array1) must be of type array, int given
--int -12345--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, int given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, int given
+array_intersect_key(): Argument #1 ($array1) must be of type array, int given
+array_intersect_key(): Argument #1 ($array1) must be of type array, int given
--float 10.5--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, float given
+array_intersect_key(): Argument #1 ($array1) must be of type array, float given
+array_intersect_key(): Argument #1 ($array1) must be of type array, float given
--float -10.5--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, float given
+array_intersect_key(): Argument #1 ($array1) must be of type array, float given
+array_intersect_key(): Argument #1 ($array1) must be of type array, float given
--float 12.3456789000e10--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, float given
+array_intersect_key(): Argument #1 ($array1) must be of type array, float given
+array_intersect_key(): Argument #1 ($array1) must be of type array, float given
--float -12.3456789000e10--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, float given
+array_intersect_key(): Argument #1 ($array1) must be of type array, float given
+array_intersect_key(): Argument #1 ($array1) must be of type array, float given
--float .5--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, float given
+array_intersect_key(): Argument #1 ($array1) must be of type array, float given
+array_intersect_key(): Argument #1 ($array1) must be of type array, float given
--uppercase NULL--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, null given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, null given
+array_intersect_key(): Argument #1 ($array1) must be of type array, null given
+array_intersect_key(): Argument #1 ($array1) must be of type array, null given
--lowercase null--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, null given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, null given
+array_intersect_key(): Argument #1 ($array1) must be of type array, null given
+array_intersect_key(): Argument #1 ($array1) must be of type array, null given
--lowercase true--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, bool given
+array_intersect_key(): Argument #1 ($array1) must be of type array, bool given
+array_intersect_key(): Argument #1 ($array1) must be of type array, bool given
--lowercase false--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, bool given
+array_intersect_key(): Argument #1 ($array1) must be of type array, bool given
+array_intersect_key(): Argument #1 ($array1) must be of type array, bool given
--uppercase TRUE--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, bool given
+array_intersect_key(): Argument #1 ($array1) must be of type array, bool given
+array_intersect_key(): Argument #1 ($array1) must be of type array, bool given
--uppercase FALSE--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, bool given
+array_intersect_key(): Argument #1 ($array1) must be of type array, bool given
+array_intersect_key(): Argument #1 ($array1) must be of type array, bool given
--empty string DQ--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_key(): Argument #1 ($array1) must be of type array, string given
+array_intersect_key(): Argument #1 ($array1) must be of type array, string given
--empty string SQ--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_key(): Argument #1 ($array1) must be of type array, string given
+array_intersect_key(): Argument #1 ($array1) must be of type array, string given
--string DQ--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_key(): Argument #1 ($array1) must be of type array, string given
+array_intersect_key(): Argument #1 ($array1) must be of type array, string given
--string SQ--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_key(): Argument #1 ($array1) must be of type array, string given
+array_intersect_key(): Argument #1 ($array1) must be of type array, string given
--mixed case string--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_key(): Argument #1 ($array1) must be of type array, string given
+array_intersect_key(): Argument #1 ($array1) must be of type array, string given
--heredoc--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_key(): Argument #1 ($array1) must be of type array, string given
+array_intersect_key(): Argument #1 ($array1) must be of type array, string given
--instance of classWithToString--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, classWithToString given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, classWithToString given
+array_intersect_key(): Argument #1 ($array1) must be of type array, classWithToString given
+array_intersect_key(): Argument #1 ($array1) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, classWithoutToString given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, classWithoutToString given
+array_intersect_key(): Argument #1 ($array1) must be of type array, classWithoutToString given
+array_intersect_key(): Argument #1 ($array1) must be of type array, classWithoutToString given
--undefined var--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, null given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, null given
+array_intersect_key(): Argument #1 ($array1) must be of type array, null given
+array_intersect_key(): Argument #1 ($array1) must be of type array, null given
--unset var--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, null given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, null given
+array_intersect_key(): Argument #1 ($array1) must be of type array, null given
+array_intersect_key(): Argument #1 ($array1) must be of type array, null given
--resource var--
-array_intersect_key(): Argument #1 ($arr1) must be of type array, resource given
-array_intersect_key(): Argument #1 ($arr1) must be of type array, resource given
+array_intersect_key(): Argument #1 ($array1) must be of type array, resource given
+array_intersect_key(): Argument #1 ($array1) must be of type array, resource given
diff --git a/ext/standard/tests/array/array_intersect_key_variation2.phpt b/ext/standard/tests/array/array_intersect_key_variation2.phpt
index d8b98c5fa7..65491a2682 100644
--- a/ext/standard/tests/array/array_intersect_key_variation2.phpt
+++ b/ext/standard/tests/array/array_intersect_key_variation2.phpt
@@ -86,7 +86,7 @@ $inputs = array(
'resource var' => $fp,
);
-// loop through each element of the array for arr2
+// loop through each element of the array for array2
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
@@ -108,105 +108,105 @@ fclose($fp);
*** Testing array_intersect_key() : usage variation ***
--int 0--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, int given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, int given
+array_intersect_key(): Argument #2 ($array2) must be of type array, int given
+array_intersect_key(): Argument #2 ($array2) must be of type array, int given
--int 1--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, int given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, int given
+array_intersect_key(): Argument #2 ($array2) must be of type array, int given
+array_intersect_key(): Argument #2 ($array2) must be of type array, int given
--int 12345--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, int given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, int given
+array_intersect_key(): Argument #2 ($array2) must be of type array, int given
+array_intersect_key(): Argument #2 ($array2) must be of type array, int given
--int -12345--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, int given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, int given
+array_intersect_key(): Argument #2 ($array2) must be of type array, int given
+array_intersect_key(): Argument #2 ($array2) must be of type array, int given
--float 10.5--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, float given
+array_intersect_key(): Argument #2 ($array2) must be of type array, float given
+array_intersect_key(): Argument #2 ($array2) must be of type array, float given
--float -10.5--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, float given
+array_intersect_key(): Argument #2 ($array2) must be of type array, float given
+array_intersect_key(): Argument #2 ($array2) must be of type array, float given
--float 12.3456789000e10--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, float given
+array_intersect_key(): Argument #2 ($array2) must be of type array, float given
+array_intersect_key(): Argument #2 ($array2) must be of type array, float given
--float -12.3456789000e10--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, float given
+array_intersect_key(): Argument #2 ($array2) must be of type array, float given
+array_intersect_key(): Argument #2 ($array2) must be of type array, float given
--float .5--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, float given
+array_intersect_key(): Argument #2 ($array2) must be of type array, float given
+array_intersect_key(): Argument #2 ($array2) must be of type array, float given
--uppercase NULL--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, null given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, null given
+array_intersect_key(): Argument #2 ($array2) must be of type array, null given
+array_intersect_key(): Argument #2 ($array2) must be of type array, null given
--lowercase null--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, null given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, null given
+array_intersect_key(): Argument #2 ($array2) must be of type array, null given
+array_intersect_key(): Argument #2 ($array2) must be of type array, null given
--lowercase true--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, bool given
+array_intersect_key(): Argument #2 ($array2) must be of type array, bool given
+array_intersect_key(): Argument #2 ($array2) must be of type array, bool given
--lowercase false--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, bool given
+array_intersect_key(): Argument #2 ($array2) must be of type array, bool given
+array_intersect_key(): Argument #2 ($array2) must be of type array, bool given
--uppercase TRUE--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, bool given
+array_intersect_key(): Argument #2 ($array2) must be of type array, bool given
+array_intersect_key(): Argument #2 ($array2) must be of type array, bool given
--uppercase FALSE--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, bool given
+array_intersect_key(): Argument #2 ($array2) must be of type array, bool given
+array_intersect_key(): Argument #2 ($array2) must be of type array, bool given
--empty string DQ--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_key(): Argument #2 ($array2) must be of type array, string given
+array_intersect_key(): Argument #2 ($array2) must be of type array, string given
--empty string SQ--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_key(): Argument #2 ($array2) must be of type array, string given
+array_intersect_key(): Argument #2 ($array2) must be of type array, string given
--string DQ--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_key(): Argument #2 ($array2) must be of type array, string given
+array_intersect_key(): Argument #2 ($array2) must be of type array, string given
--string SQ--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_key(): Argument #2 ($array2) must be of type array, string given
+array_intersect_key(): Argument #2 ($array2) must be of type array, string given
--mixed case string--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_key(): Argument #2 ($array2) must be of type array, string given
+array_intersect_key(): Argument #2 ($array2) must be of type array, string given
--heredoc--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_key(): Argument #2 ($array2) must be of type array, string given
+array_intersect_key(): Argument #2 ($array2) must be of type array, string given
--instance of classWithToString--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, classWithToString given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, classWithToString given
+array_intersect_key(): Argument #2 ($array2) must be of type array, classWithToString given
+array_intersect_key(): Argument #2 ($array2) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, classWithoutToString given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, classWithoutToString given
+array_intersect_key(): Argument #2 ($array2) must be of type array, classWithoutToString given
+array_intersect_key(): Argument #2 ($array2) must be of type array, classWithoutToString given
--undefined var--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, null given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, null given
+array_intersect_key(): Argument #2 ($array2) must be of type array, null given
+array_intersect_key(): Argument #2 ($array2) must be of type array, null given
--unset var--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, null given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, null given
+array_intersect_key(): Argument #2 ($array2) must be of type array, null given
+array_intersect_key(): Argument #2 ($array2) must be of type array, null given
--resource var--
-array_intersect_key(): Argument #2 ($arr2) must be of type array, resource given
-array_intersect_key(): Argument #2 ($arr2) must be of type array, resource given
+array_intersect_key(): Argument #2 ($array2) must be of type array, resource given
+array_intersect_key(): Argument #2 ($array2) must be of type array, resource given
diff --git a/ext/standard/tests/array/array_intersect_uassoc_variation1.phpt b/ext/standard/tests/array/array_intersect_uassoc_variation1.phpt
index 48807057fe..c686e64689 100644
--- a/ext/standard/tests/array/array_intersect_uassoc_variation1.phpt
+++ b/ext/standard/tests/array/array_intersect_uassoc_variation1.phpt
@@ -94,7 +94,7 @@ $inputs = array(
'resource' => $fp,
);
-// loop through each element of the array for arr1
+// loop through each element of the array for array1
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
@@ -115,105 +115,105 @@ fclose($fp);
*** Testing array_intersect_uassoc() : usage variation ***
--int 0--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, int given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, int given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, int given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, int given
--int 1--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, int given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, int given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, int given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, int given
--int 12345--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, int given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, int given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, int given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, int given
--int -12345--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, int given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, int given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, int given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, int given
--float 10.5--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, float given
--float -10.5--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, float given
--float 12.3456789000e10--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, float given
--float -12.3456789000e10--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, float given
--float .5--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, float given
--uppercase NULL--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, null given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, null given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, null given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, null given
--lowercase null--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, null given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, null given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, null given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, null given
--lowercase true--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, bool given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, bool given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, bool given
--lowercase false--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, bool given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, bool given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, bool given
--uppercase TRUE--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, bool given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, bool given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, bool given
--uppercase FALSE--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, bool given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, bool given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, bool given
--empty string DQ--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, string given
--empty string SQ--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, string given
--string DQ--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, string given
--string SQ--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, string given
--mixed case string--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, string given
--heredoc--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, string given
--instance of classWithToString--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, classWithToString given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, classWithToString given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, classWithToString given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, classWithoutToString given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, classWithoutToString given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, classWithoutToString given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, classWithoutToString given
--undefined var--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, null given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, null given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, null given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, null given
--unset var--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, null given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, null given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, null given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, null given
--resource--
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, resource given
-array_intersect_uassoc(): Argument #1 ($arr1) must be of type array, resource given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, resource given
+array_intersect_uassoc(): Argument #1 ($array1) must be of type array, resource given
diff --git a/ext/standard/tests/array/array_intersect_uassoc_variation2.phpt b/ext/standard/tests/array/array_intersect_uassoc_variation2.phpt
index 245fa437c0..741b3a9405 100644
--- a/ext/standard/tests/array/array_intersect_uassoc_variation2.phpt
+++ b/ext/standard/tests/array/array_intersect_uassoc_variation2.phpt
@@ -94,7 +94,7 @@ $inputs = array(
'resource' => $fp,
);
-// loop through each element of the array for arr1
+// loop through each element of the array for array1
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
@@ -115,105 +115,105 @@ fclose($fp);
*** Testing array_intersect_uassoc() : usage variation ***
--int 0--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, int given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, int given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, int given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, int given
--int 1--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, int given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, int given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, int given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, int given
--int 12345--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, int given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, int given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, int given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, int given
--int -12345--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, int given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, int given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, int given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, int given
--float 10.5--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, float given
--float -10.5--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, float given
--float 12.3456789000e10--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, float given
--float -12.3456789000e10--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, float given
--float .5--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, float given
--uppercase NULL--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, null given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, null given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, null given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, null given
--lowercase null--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, null given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, null given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, null given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, null given
--lowercase true--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, bool given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, bool given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, bool given
--lowercase false--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, bool given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, bool given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, bool given
--uppercase TRUE--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, bool given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, bool given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, bool given
--uppercase FALSE--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, bool given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, bool given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, bool given
--empty string DQ--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, string given
--empty string SQ--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, string given
--string DQ--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, string given
--string SQ--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, string given
--mixed case string--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, string given
--heredoc--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, string given
--instance of classWithToString--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, classWithToString given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, classWithToString given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, classWithToString given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, classWithoutToString given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, classWithoutToString given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, classWithoutToString given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, classWithoutToString given
--undefined var--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, null given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, null given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, null given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, null given
--unset var--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, null given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, null given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, null given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, null given
--resource--
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, resource given
-array_intersect_uassoc(): Argument #2 ($arr2) must be of type array, resource given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, resource given
+array_intersect_uassoc(): Argument #2 ($array2) must be of type array, resource given
diff --git a/ext/standard/tests/array/array_intersect_ukey_variation1.phpt b/ext/standard/tests/array/array_intersect_ukey_variation1.phpt
index 4dfe06f738..e73bbd3267 100644
--- a/ext/standard/tests/array/array_intersect_ukey_variation1.phpt
+++ b/ext/standard/tests/array/array_intersect_ukey_variation1.phpt
@@ -91,7 +91,7 @@ $inputs = array(
'resource var' => $fp,
);
-// loop through each element of the array for arr1
+// loop through each element of the array for array1
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
@@ -113,105 +113,105 @@ fclose($fp);
*** Testing array_intersect_ukey() : usage variation ***
--int 0--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, int given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, int given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, int given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, int given
--int 1--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, int given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, int given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, int given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, int given
--int 12345--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, int given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, int given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, int given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, int given
--int -12345--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, int given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, int given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, int given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, int given
--float 10.5--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, float given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, float given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, float given
--float -10.5--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, float given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, float given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, float given
--float 12.3456789000e10--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, float given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, float given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, float given
--float -12.3456789000e10--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, float given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, float given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, float given
--float .5--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, float given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, float given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, float given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, float given
--uppercase NULL--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, null given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, null given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, null given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, null given
--lowercase null--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, null given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, null given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, null given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, null given
--lowercase true--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, bool given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, bool given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, bool given
--lowercase false--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, bool given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, bool given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, bool given
--uppercase TRUE--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, bool given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, bool given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, bool given
--uppercase FALSE--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, bool given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, bool given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, bool given
--empty string DQ--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, string given
--empty string SQ--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, string given
--string DQ--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, string given
--string SQ--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, string given
--mixed case string--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, string given
--heredoc--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, string given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, string given
--instance of classWithToString--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, classWithToString given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, classWithToString given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, classWithToString given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, classWithoutToString given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, classWithoutToString given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, classWithoutToString given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, classWithoutToString given
--undefined var--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, null given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, null given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, null given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, null given
--unset var--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, null given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, null given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, null given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, null given
--resource var--
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, resource given
-array_intersect_ukey(): Argument #1 ($arr1) must be of type array, resource given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, resource given
+array_intersect_ukey(): Argument #1 ($array1) must be of type array, resource given
diff --git a/ext/standard/tests/array/array_intersect_ukey_variation2.phpt b/ext/standard/tests/array/array_intersect_ukey_variation2.phpt
index bd85523c89..7dd5d4c459 100644
--- a/ext/standard/tests/array/array_intersect_ukey_variation2.phpt
+++ b/ext/standard/tests/array/array_intersect_ukey_variation2.phpt
@@ -91,7 +91,7 @@ $inputs = array(
'resource var' => $fp,
);
-// loop through each element of the array for arr2
+// loop through each element of the array for array2
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
@@ -113,105 +113,105 @@ fclose($fp);
*** Testing array_intersect_ukey() : usage variation ***
--int 0--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, int given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, int given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, int given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, int given
--int 1--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, int given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, int given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, int given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, int given
--int 12345--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, int given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, int given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, int given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, int given
--int -12345--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, int given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, int given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, int given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, int given
--float 10.5--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, float given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, float given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, float given
--float -10.5--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, float given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, float given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, float given
--float 12.3456789000e10--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, float given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, float given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, float given
--float -12.3456789000e10--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, float given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, float given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, float given
--float .5--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, float given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, float given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, float given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, float given
--uppercase NULL--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, null given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, null given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, null given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, null given
--lowercase null--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, null given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, null given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, null given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, null given
--lowercase true--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, bool given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, bool given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, bool given
--lowercase false--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, bool given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, bool given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, bool given
--uppercase TRUE--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, bool given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, bool given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, bool given
--uppercase FALSE--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, bool given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, bool given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, bool given
--empty string DQ--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, string given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, string given
--empty string SQ--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, string given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, string given
--string DQ--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, string given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, string given
--string SQ--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, string given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, string given
--mixed case string--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, string given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, string given
--heredoc--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, string given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, string given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, string given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, string given
--instance of classWithToString--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, classWithToString given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, classWithToString given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, classWithToString given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, classWithoutToString given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, classWithoutToString given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, classWithoutToString given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, classWithoutToString given
--undefined var--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, null given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, null given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, null given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, null given
--unset var--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, null given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, null given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, null given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, null given
--resource var--
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, resource given
-array_intersect_ukey(): Argument #2 ($arr2) must be of type array, resource given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, resource given
+array_intersect_ukey(): Argument #2 ($array2) must be of type array, resource given
diff --git a/ext/standard/tests/array/array_intersect_variation1.phpt b/ext/standard/tests/array/array_intersect_variation1.phpt
index 8f38702123..f83a4d901e 100644
--- a/ext/standard/tests/array/array_intersect_variation1.phpt
+++ b/ext/standard/tests/array/array_intersect_variation1.phpt
@@ -1,17 +1,17 @@
--TEST--
-Test array_intersect() function : usage variations - unexpected values for 'arr1' argument
+Test array_intersect() function : usage variations - unexpected values for 'array1' argument
--FILE--
<?php
/*
-* Testing array_intersect() function by passing values to $arr1 argument other than arrays
+* Testing array_intersect() function by passing values to $array1 argument other than arrays
* and see that function emits proper warning messages wherever expected.
-* The $arr2 argument is a fixed array.
+* The $array2 argument is a fixed array.
*/
-echo "*** Testing array_intersect() : Passing non-array values to \$arr1 argument ***\n";
+echo "*** Testing array_intersect() : Passing non-array values to \$array1 argument ***\n";
-// array to be passsed to $arr2 as default argument
-$arr2 = array(1, 2);
+// array to be passsed to $array2 as default argument
+$array2 = array(1, 2);
// array to be passed to optional argument
$arr3 = array(1, 2, "one" => 1, "two" => 2);
@@ -36,7 +36,7 @@ EOT;
// get a resource variable
$fp = fopen(__FILE__, "r");
-// unexpected values to be passed to $arr1 argument
+// unexpected values to be passed to $array1 argument
$arrays = array(
// int data
@@ -91,14 +91,14 @@ foreach($arrays as $unexpected_value) {
// Calling array_intersect() with default arguments
try {
- var_dump( array_intersect($unexpected_value,$arr2) );
+ var_dump( array_intersect($unexpected_value,$array2) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
// Calling array_intersect() with more arguments
try {
- var_dump( array_intersect($unexpected_value, $arr2, $arr3) );
+ var_dump( array_intersect($unexpected_value, $array2, $arr3) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
@@ -111,77 +111,77 @@ fclose($fp);
echo "Done";
?>
--EXPECT--
-*** Testing array_intersect() : Passing non-array values to $arr1 argument ***
+*** Testing array_intersect() : Passing non-array values to $array1 argument ***
--- Iterator 1 --array_intersect(): Argument #1 ($arr1) must be of type array, int given
-array_intersect(): Argument #1 ($arr1) must be of type array, int given
+-- Iterator 1 --array_intersect(): Argument #1 ($array1) must be of type array, int given
+array_intersect(): Argument #1 ($array1) must be of type array, int given
--- Iterator 2 --array_intersect(): Argument #1 ($arr1) must be of type array, int given
-array_intersect(): Argument #1 ($arr1) must be of type array, int given
+-- Iterator 2 --array_intersect(): Argument #1 ($array1) must be of type array, int given
+array_intersect(): Argument #1 ($array1) must be of type array, int given
--- Iterator 3 --array_intersect(): Argument #1 ($arr1) must be of type array, int given
-array_intersect(): Argument #1 ($arr1) must be of type array, int given
+-- Iterator 3 --array_intersect(): Argument #1 ($array1) must be of type array, int given
+array_intersect(): Argument #1 ($array1) must be of type array, int given
--- Iterator 4 --array_intersect(): Argument #1 ($arr1) must be of type array, int given
-array_intersect(): Argument #1 ($arr1) must be of type array, int given
+-- Iterator 4 --array_intersect(): Argument #1 ($array1) must be of type array, int given
+array_intersect(): Argument #1 ($array1) must be of type array, int given
--- Iterator 5 --array_intersect(): Argument #1 ($arr1) must be of type array, float given
-array_intersect(): Argument #1 ($arr1) must be of type array, float given
+-- Iterator 5 --array_intersect(): Argument #1 ($array1) must be of type array, float given
+array_intersect(): Argument #1 ($array1) must be of type array, float given
--- Iterator 6 --array_intersect(): Argument #1 ($arr1) must be of type array, float given
-array_intersect(): Argument #1 ($arr1) must be of type array, float given
+-- Iterator 6 --array_intersect(): Argument #1 ($array1) must be of type array, float given
+array_intersect(): Argument #1 ($array1) must be of type array, float given
--- Iterator 7 --array_intersect(): Argument #1 ($arr1) must be of type array, float given
-array_intersect(): Argument #1 ($arr1) must be of type array, float given
+-- Iterator 7 --array_intersect(): Argument #1 ($array1) must be of type array, float given
+array_intersect(): Argument #1 ($array1) must be of type array, float given
--- Iterator 8 --array_intersect(): Argument #1 ($arr1) must be of type array, float given
-array_intersect(): Argument #1 ($arr1) must be of type array, float given
+-- Iterator 8 --array_intersect(): Argument #1 ($array1) must be of type array, float given
+array_intersect(): Argument #1 ($array1) must be of type array, float given
--- Iterator 9 --array_intersect(): Argument #1 ($arr1) must be of type array, float given
-array_intersect(): Argument #1 ($arr1) must be of type array, float given
+-- Iterator 9 --array_intersect(): Argument #1 ($array1) must be of type array, float given
+array_intersect(): Argument #1 ($array1) must be of type array, float given
--- Iterator 10 --array_intersect(): Argument #1 ($arr1) must be of type array, null given
-array_intersect(): Argument #1 ($arr1) must be of type array, null given
+-- Iterator 10 --array_intersect(): Argument #1 ($array1) must be of type array, null given
+array_intersect(): Argument #1 ($array1) must be of type array, null given
--- Iterator 11 --array_intersect(): Argument #1 ($arr1) must be of type array, null given
-array_intersect(): Argument #1 ($arr1) must be of type array, null given
+-- Iterator 11 --array_intersect(): Argument #1 ($array1) must be of type array, null given
+array_intersect(): Argument #1 ($array1) must be of type array, null given
--- Iterator 12 --array_intersect(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect(): Argument #1 ($arr1) must be of type array, bool given
+-- Iterator 12 --array_intersect(): Argument #1 ($array1) must be of type array, bool given
+array_intersect(): Argument #1 ($array1) must be of type array, bool given
--- Iterator 13 --array_intersect(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect(): Argument #1 ($arr1) must be of type array, bool given
+-- Iterator 13 --array_intersect(): Argument #1 ($array1) must be of type array, bool given
+array_intersect(): Argument #1 ($array1) must be of type array, bool given
--- Iterator 14 --array_intersect(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect(): Argument #1 ($arr1) must be of type array, bool given
+-- Iterator 14 --array_intersect(): Argument #1 ($array1) must be of type array, bool given
+array_intersect(): Argument #1 ($array1) must be of type array, bool given
--- Iterator 15 --array_intersect(): Argument #1 ($arr1) must be of type array, bool given
-array_intersect(): Argument #1 ($arr1) must be of type array, bool given
+-- Iterator 15 --array_intersect(): Argument #1 ($array1) must be of type array, bool given
+array_intersect(): Argument #1 ($array1) must be of type array, bool given
--- Iterator 16 --array_intersect(): Argument #1 ($arr1) must be of type array, string given
-array_intersect(): Argument #1 ($arr1) must be of type array, string given
+-- Iterator 16 --array_intersect(): Argument #1 ($array1) must be of type array, string given
+array_intersect(): Argument #1 ($array1) must be of type array, string given
--- Iterator 17 --array_intersect(): Argument #1 ($arr1) must be of type array, string given
-array_intersect(): Argument #1 ($arr1) must be of type array, string given
+-- Iterator 17 --array_intersect(): Argument #1 ($array1) must be of type array, string given
+array_intersect(): Argument #1 ($array1) must be of type array, string given
--- Iterator 18 --array_intersect(): Argument #1 ($arr1) must be of type array, string given
-array_intersect(): Argument #1 ($arr1) must be of type array, string given
+-- Iterator 18 --array_intersect(): Argument #1 ($array1) must be of type array, string given
+array_intersect(): Argument #1 ($array1) must be of type array, string given
--- Iterator 19 --array_intersect(): Argument #1 ($arr1) must be of type array, string given
-array_intersect(): Argument #1 ($arr1) must be of type array, string given
+-- Iterator 19 --array_intersect(): Argument #1 ($array1) must be of type array, string given
+array_intersect(): Argument #1 ($array1) must be of type array, string given
--- Iterator 20 --array_intersect(): Argument #1 ($arr1) must be of type array, string given
-array_intersect(): Argument #1 ($arr1) must be of type array, string given
+-- Iterator 20 --array_intersect(): Argument #1 ($array1) must be of type array, string given
+array_intersect(): Argument #1 ($array1) must be of type array, string given
--- Iterator 21 --array_intersect(): Argument #1 ($arr1) must be of type array, classA given
-array_intersect(): Argument #1 ($arr1) must be of type array, classA given
+-- Iterator 21 --array_intersect(): Argument #1 ($array1) must be of type array, classA given
+array_intersect(): Argument #1 ($array1) must be of type array, classA given
--- Iterator 22 --array_intersect(): Argument #1 ($arr1) must be of type array, null given
-array_intersect(): Argument #1 ($arr1) must be of type array, null given
+-- Iterator 22 --array_intersect(): Argument #1 ($array1) must be of type array, null given
+array_intersect(): Argument #1 ($array1) must be of type array, null given
--- Iterator 23 --array_intersect(): Argument #1 ($arr1) must be of type array, null given
-array_intersect(): Argument #1 ($arr1) must be of type array, null given
+-- Iterator 23 --array_intersect(): Argument #1 ($array1) must be of type array, null given
+array_intersect(): Argument #1 ($array1) must be of type array, null given
--- Iterator 24 --array_intersect(): Argument #1 ($arr1) must be of type array, resource given
-array_intersect(): Argument #1 ($arr1) must be of type array, resource given
+-- Iterator 24 --array_intersect(): Argument #1 ($array1) must be of type array, resource given
+array_intersect(): Argument #1 ($array1) must be of type array, resource given
Done
diff --git a/ext/standard/tests/array/array_intersect_variation2.phpt b/ext/standard/tests/array/array_intersect_variation2.phpt
index f8389dd961..302ea149d8 100644
--- a/ext/standard/tests/array/array_intersect_variation2.phpt
+++ b/ext/standard/tests/array/array_intersect_variation2.phpt
@@ -1,17 +1,17 @@
--TEST--
-Test array_intersect() function : usage variations - unexpected values for 'arr2' argument
+Test array_intersect() function : usage variations - unexpected values for 'array2' argument
--FILE--
<?php
/*
-* Testing array_intersect() function by passing values to $arr2 argument other than arrays
+* Testing array_intersect() function by passing values to $array2 argument other than arrays
* and see that function emits proper warning messages wherever expected.
-* The $arr1 argument is a fixed array.
+* The $array1 argument is a fixed array.
*/
-echo "*** Testing array_intersect() : Passing non-array values to \$arr2 argument ***\n";
+echo "*** Testing array_intersect() : Passing non-array values to \$array2 argument ***\n";
-// array to be passsed to $arr1 as default argument
-$arr1 = array(1, 2);
+// array to be passsed to $array1 as default argument
+$array1 = array(1, 2);
// arrays to be passed to optional argument
$arr3 = array(1, 2, "one" => 1, "two" => 2);
@@ -36,7 +36,7 @@ EOT;
// get a resource variable
$fp = fopen(__FILE__, "r");
-// unexpected values to be passed to $arr2 argument
+// unexpected values to be passed to $array2 argument
$arrays = array(
// int data
@@ -91,14 +91,14 @@ foreach($arrays as $unexpected_value) {
// Calling array_intersect() with default arguments
try {
- var_dump( array_intersect($arr1,$unexpected_value) );
+ var_dump( array_intersect($array1,$unexpected_value) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
// Calling array_intersect() with more arguments
try {
- var_dump( array_intersect($arr1, $unexpected_value, $arr3) );
+ var_dump( array_intersect($array1, $unexpected_value, $arr3) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
@@ -112,77 +112,77 @@ fclose($fp);
echo "Done";
?>
--EXPECT--
-*** Testing array_intersect() : Passing non-array values to $arr2 argument ***
+*** Testing array_intersect() : Passing non-array values to $array2 argument ***
--- Iterator 1 --array_intersect(): Argument #2 ($arr2) must be of type array, int given
-array_intersect(): Argument #2 ($arr2) must be of type array, int given
+-- Iterator 1 --array_intersect(): Argument #2 ($array2) must be of type array, int given
+array_intersect(): Argument #2 ($array2) must be of type array, int given
--- Iterator 2 --array_intersect(): Argument #2 ($arr2) must be of type array, int given
-array_intersect(): Argument #2 ($arr2) must be of type array, int given
+-- Iterator 2 --array_intersect(): Argument #2 ($array2) must be of type array, int given
+array_intersect(): Argument #2 ($array2) must be of type array, int given
--- Iterator 3 --array_intersect(): Argument #2 ($arr2) must be of type array, int given
-array_intersect(): Argument #2 ($arr2) must be of type array, int given
+-- Iterator 3 --array_intersect(): Argument #2 ($array2) must be of type array, int given
+array_intersect(): Argument #2 ($array2) must be of type array, int given
--- Iterator 4 --array_intersect(): Argument #2 ($arr2) must be of type array, int given
-array_intersect(): Argument #2 ($arr2) must be of type array, int given
+-- Iterator 4 --array_intersect(): Argument #2 ($array2) must be of type array, int given
+array_intersect(): Argument #2 ($array2) must be of type array, int given
--- Iterator 5 --array_intersect(): Argument #2 ($arr2) must be of type array, float given
-array_intersect(): Argument #2 ($arr2) must be of type array, float given
+-- Iterator 5 --array_intersect(): Argument #2 ($array2) must be of type array, float given
+array_intersect(): Argument #2 ($array2) must be of type array, float given
--- Iterator 6 --array_intersect(): Argument #2 ($arr2) must be of type array, float given
-array_intersect(): Argument #2 ($arr2) must be of type array, float given
+-- Iterator 6 --array_intersect(): Argument #2 ($array2) must be of type array, float given
+array_intersect(): Argument #2 ($array2) must be of type array, float given
--- Iterator 7 --array_intersect(): Argument #2 ($arr2) must be of type array, float given
-array_intersect(): Argument #2 ($arr2) must be of type array, float given
+-- Iterator 7 --array_intersect(): Argument #2 ($array2) must be of type array, float given
+array_intersect(): Argument #2 ($array2) must be of type array, float given
--- Iterator 8 --array_intersect(): Argument #2 ($arr2) must be of type array, float given
-array_intersect(): Argument #2 ($arr2) must be of type array, float given
+-- Iterator 8 --array_intersect(): Argument #2 ($array2) must be of type array, float given
+array_intersect(): Argument #2 ($array2) must be of type array, float given
--- Iterator 9 --array_intersect(): Argument #2 ($arr2) must be of type array, float given
-array_intersect(): Argument #2 ($arr2) must be of type array, float given
+-- Iterator 9 --array_intersect(): Argument #2 ($array2) must be of type array, float given
+array_intersect(): Argument #2 ($array2) must be of type array, float given
--- Iterator 10 --array_intersect(): Argument #2 ($arr2) must be of type array, null given
-array_intersect(): Argument #2 ($arr2) must be of type array, null given
+-- Iterator 10 --array_intersect(): Argument #2 ($array2) must be of type array, null given
+array_intersect(): Argument #2 ($array2) must be of type array, null given
--- Iterator 11 --array_intersect(): Argument #2 ($arr2) must be of type array, null given
-array_intersect(): Argument #2 ($arr2) must be of type array, null given
+-- Iterator 11 --array_intersect(): Argument #2 ($array2) must be of type array, null given
+array_intersect(): Argument #2 ($array2) must be of type array, null given
--- Iterator 12 --array_intersect(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect(): Argument #2 ($arr2) must be of type array, bool given
+-- Iterator 12 --array_intersect(): Argument #2 ($array2) must be of type array, bool given
+array_intersect(): Argument #2 ($array2) must be of type array, bool given
--- Iterator 13 --array_intersect(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect(): Argument #2 ($arr2) must be of type array, bool given
+-- Iterator 13 --array_intersect(): Argument #2 ($array2) must be of type array, bool given
+array_intersect(): Argument #2 ($array2) must be of type array, bool given
--- Iterator 14 --array_intersect(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect(): Argument #2 ($arr2) must be of type array, bool given
+-- Iterator 14 --array_intersect(): Argument #2 ($array2) must be of type array, bool given
+array_intersect(): Argument #2 ($array2) must be of type array, bool given
--- Iterator 15 --array_intersect(): Argument #2 ($arr2) must be of type array, bool given
-array_intersect(): Argument #2 ($arr2) must be of type array, bool given
+-- Iterator 15 --array_intersect(): Argument #2 ($array2) must be of type array, bool given
+array_intersect(): Argument #2 ($array2) must be of type array, bool given
--- Iterator 16 --array_intersect(): Argument #2 ($arr2) must be of type array, string given
-array_intersect(): Argument #2 ($arr2) must be of type array, string given
+-- Iterator 16 --array_intersect(): Argument #2 ($array2) must be of type array, string given
+array_intersect(): Argument #2 ($array2) must be of type array, string given
--- Iterator 17 --array_intersect(): Argument #2 ($arr2) must be of type array, string given
-array_intersect(): Argument #2 ($arr2) must be of type array, string given
+-- Iterator 17 --array_intersect(): Argument #2 ($array2) must be of type array, string given
+array_intersect(): Argument #2 ($array2) must be of type array, string given
--- Iterator 18 --array_intersect(): Argument #2 ($arr2) must be of type array, string given
-array_intersect(): Argument #2 ($arr2) must be of type array, string given
+-- Iterator 18 --array_intersect(): Argument #2 ($array2) must be of type array, string given
+array_intersect(): Argument #2 ($array2) must be of type array, string given
--- Iterator 19 --array_intersect(): Argument #2 ($arr2) must be of type array, string given
-array_intersect(): Argument #2 ($arr2) must be of type array, string given
+-- Iterator 19 --array_intersect(): Argument #2 ($array2) must be of type array, string given
+array_intersect(): Argument #2 ($array2) must be of type array, string given
--- Iterator 20 --array_intersect(): Argument #2 ($arr2) must be of type array, string given
-array_intersect(): Argument #2 ($arr2) must be of type array, string given
+-- Iterator 20 --array_intersect(): Argument #2 ($array2) must be of type array, string given
+array_intersect(): Argument #2 ($array2) must be of type array, string given
--- Iterator 21 --array_intersect(): Argument #2 ($arr2) must be of type array, classA given
-array_intersect(): Argument #2 ($arr2) must be of type array, classA given
+-- Iterator 21 --array_intersect(): Argument #2 ($array2) must be of type array, classA given
+array_intersect(): Argument #2 ($array2) must be of type array, classA given
--- Iterator 22 --array_intersect(): Argument #2 ($arr2) must be of type array, null given
-array_intersect(): Argument #2 ($arr2) must be of type array, null given
+-- Iterator 22 --array_intersect(): Argument #2 ($array2) must be of type array, null given
+array_intersect(): Argument #2 ($array2) must be of type array, null given
--- Iterator 23 --array_intersect(): Argument #2 ($arr2) must be of type array, null given
-array_intersect(): Argument #2 ($arr2) must be of type array, null given
+-- Iterator 23 --array_intersect(): Argument #2 ($array2) must be of type array, null given
+array_intersect(): Argument #2 ($array2) must be of type array, null given
--- Iterator 24 --array_intersect(): Argument #2 ($arr2) must be of type array, resource given
-array_intersect(): Argument #2 ($arr2) must be of type array, resource given
+-- Iterator 24 --array_intersect(): Argument #2 ($array2) must be of type array, resource given
+array_intersect(): Argument #2 ($array2) must be of type array, resource given
Done
diff --git a/ext/standard/tests/array/array_map_variation10.phpt b/ext/standard/tests/array/array_map_variation10.phpt
index b0c3745b36..e226b7c71d 100644
--- a/ext/standard/tests/array/array_map_variation10.phpt
+++ b/ext/standard/tests/array/array_map_variation10.phpt
@@ -27,7 +27,7 @@ var_dump( array_map( function() { return NULL; }, $array1));
echo "-- anonymous function with NULL body --\n";
var_dump( array_map( function($a) { }, $array1));
-echo "-- passing NULL as 'arr1' --\n";
+echo "-- passing NULL as 'array1' --\n";
try {
var_dump( array_map( function($a) { return array($a); }, NULL));
} catch (TypeError $e) {
@@ -82,6 +82,6 @@ array(3) {
[2]=>
NULL
}
--- passing NULL as 'arr1' --
-array_map(): Argument #2 ($arr1) must be of type array, null given
+-- passing NULL as 'array1' --
+array_map(): Argument #2 ($array1) must be of type array, null given
Done
diff --git a/ext/standard/tests/array/array_multisort_variation1.phpt b/ext/standard/tests/array/array_multisort_variation1.phpt
index b4d76eb79c..f93ad2cfc7 100644
--- a/ext/standard/tests/array/array_multisort_variation1.phpt
+++ b/ext/standard/tests/array/array_multisort_variation1.phpt
@@ -103,76 +103,76 @@ foreach($inputs as $key =>$value) {
*** Testing array_multisort() : usage variation ***
--int 0--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag that has not already been specified
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag that has not already been specified
--int 1--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag that has not already been specified
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag that has not already been specified
--int 12345--
-array_multisort(): Argument #1 ($arr1) must be a valid sort flag
+array_multisort(): Argument #1 ($array1) must be a valid sort flag
--int -12345--
-array_multisort(): Argument #1 ($arr1) must be a valid sort flag
+array_multisort(): Argument #1 ($array1) must be a valid sort flag
--float 10.5--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--float -10.5--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--float 12.3456789000e10--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--float -12.3456789000e10--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--float .5--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--uppercase NULL--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--lowercase null--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--lowercase true--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--lowercase false--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--uppercase TRUE--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--uppercase FALSE--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--empty string DQ--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--empty string SQ--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--string DQ--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--string SQ--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--mixed case string--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--heredoc--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--instance of classWithToString--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--instance of classWithoutToString--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--undefined var--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
--unset var--
-array_multisort(): Argument #1 ($arr1) must be an array or a sort flag
+array_multisort(): Argument #1 ($array1) must be an array or a sort flag
diff --git a/ext/standard/tests/array/array_rand.phpt b/ext/standard/tests/array/array_rand.phpt
index d493e6c5a6..52890dcafd 100644
--- a/ext/standard/tests/array/array_rand.phpt
+++ b/ext/standard/tests/array/array_rand.phpt
@@ -38,11 +38,11 @@ var_dump(array_rand(array(1,2,3), 2));
?>
--EXPECTF--
-array_rand(): Argument #1 ($arg) cannot be empty
-array_rand(): Argument #1 ($arg) cannot be empty
-array_rand(): Argument #2 ($num_req) must be between 1 and the number of elements in argument #1 ($arg)
-array_rand(): Argument #2 ($num_req) must be between 1 and the number of elements in argument #1 ($arg)
-array_rand(): Argument #2 ($num_req) must be between 1 and the number of elements in argument #1 ($arg)
+array_rand(): Argument #1 ($array) cannot be empty
+array_rand(): Argument #1 ($array) cannot be empty
+array_rand(): Argument #2 ($num_req) must be between 1 and the number of elements in argument #1 ($array)
+array_rand(): Argument #2 ($num_req) must be between 1 and the number of elements in argument #1 ($array)
+array_rand(): Argument #2 ($num_req) must be between 1 and the number of elements in argument #1 ($array)
array(3) {
[0]=>
int(%d)
diff --git a/ext/standard/tests/array/array_rand_variation5.phpt b/ext/standard/tests/array/array_rand_variation5.phpt
index 116a8c3263..8b877c8a91 100644
--- a/ext/standard/tests/array/array_rand_variation5.phpt
+++ b/ext/standard/tests/array/array_rand_variation5.phpt
@@ -65,13 +65,13 @@ int(%d)
int(%d)
-- With num_req = 0 --
-array_rand(): Argument #2 ($num_req) must be between 1 and the number of elements in argument #1 ($arg)
+array_rand(): Argument #2 ($num_req) must be between 1 and the number of elements in argument #1 ($array)
-- With num_req = -1 --
-array_rand(): Argument #2 ($num_req) must be between 1 and the number of elements in argument #1 ($arg)
+array_rand(): Argument #2 ($num_req) must be between 1 and the number of elements in argument #1 ($array)
-- With num_req = -2 --
-array_rand(): Argument #2 ($num_req) must be between 1 and the number of elements in argument #1 ($arg)
+array_rand(): Argument #2 ($num_req) must be between 1 and the number of elements in argument #1 ($array)
-- With num_req more than number of members in 'input' array --
-array_rand(): Argument #2 ($num_req) must be between 1 and the number of elements in argument #1 ($arg)
+array_rand(): Argument #2 ($num_req) must be between 1 and the number of elements in argument #1 ($array)
diff --git a/ext/standard/tests/array/array_udiff_assoc_variation1.phpt b/ext/standard/tests/array/array_udiff_assoc_variation1.phpt
index 10dfc47a38..9e515ce1bf 100644
--- a/ext/standard/tests/array/array_udiff_assoc_variation1.phpt
+++ b/ext/standard/tests/array/array_udiff_assoc_variation1.phpt
@@ -5,7 +5,7 @@ Test array_udiff_assoc() function : usage variation
echo "*** Testing array_udiff_assoc() : usage variation ***\n";
// Initialise function arguments not being substituted (if any)
-$arr2 = array(1, 2);
+$array2 = array(1, 2);
include('compare_function.inc');
$key_comp_func = 'compare_function';
@@ -82,12 +82,12 @@ $inputs = array(
'unset var' => @$unset_var,
);
-// loop through each element of the array for arr1
+// loop through each element of the array for array1
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
- var_dump( array_udiff_assoc($value, $arr2, $key_comp_func) );
+ var_dump( array_udiff_assoc($value, $array2, $key_comp_func) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
@@ -98,76 +98,76 @@ foreach($inputs as $key =>$value) {
*** Testing array_udiff_assoc() : usage variation ***
--int 0--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, int given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, int given
--int 1--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, int given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, int given
--int 12345--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, int given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, int given
--int -12345--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, int given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, int given
--float 10.5--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, float given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, float given
--float -10.5--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, float given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, float given
--float 12.3456789000e10--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, float given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, float given
--float -12.3456789000e10--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, float given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, float given
--float .5--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, float given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, float given
--uppercase NULL--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, null given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, null given
--lowercase null--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, null given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, null given
--lowercase true--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, bool given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, bool given
--lowercase false--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, bool given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, bool given
--uppercase TRUE--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, bool given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, bool given
--uppercase FALSE--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, bool given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, bool given
--empty string DQ--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, string given
--empty string SQ--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, string given
--string DQ--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, string given
--string SQ--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, string given
--mixed case string--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, string given
--heredoc--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, string given
--instance of classWithToString--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, classWithToString given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, classWithoutToString given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, classWithoutToString given
--undefined var--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, null given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, null given
--unset var--
-array_udiff_assoc(): Argument #1 ($arr1) must be of type array, null given
+array_udiff_assoc(): Argument #1 ($array1) must be of type array, null given
diff --git a/ext/standard/tests/array/array_udiff_assoc_variation2.phpt b/ext/standard/tests/array/array_udiff_assoc_variation2.phpt
index d0e3431a99..30f418d31e 100644
--- a/ext/standard/tests/array/array_udiff_assoc_variation2.phpt
+++ b/ext/standard/tests/array/array_udiff_assoc_variation2.phpt
@@ -5,7 +5,7 @@ Test array_udiff_assoc() function : usage variation
echo "*** Testing array_udiff_assoc() : usage variation ***\n";
// Initialise function arguments not being substituted (if any)
-$arr1 = array(1, 2);
+$array1 = array(1, 2);
include('compare_function.inc');
$key_comp_func = 'compare_function';
@@ -82,12 +82,12 @@ $inputs = array(
'unset var' => @$unset_var,
);
-// loop through each element of the array for arr2
+// loop through each element of the array for array2
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
- var_dump( array_udiff_assoc($arr1, $value, $key_comp_func) );
+ var_dump( array_udiff_assoc($array1, $value, $key_comp_func) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
@@ -98,76 +98,76 @@ foreach($inputs as $key =>$value) {
*** Testing array_udiff_assoc() : usage variation ***
--int 0--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, int given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, int given
--int 1--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, int given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, int given
--int 12345--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, int given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, int given
--int -12345--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, int given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, int given
--float 10.5--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, float given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, float given
--float -10.5--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, float given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, float given
--float 12.3456789000e10--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, float given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, float given
--float -12.3456789000e10--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, float given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, float given
--float .5--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, float given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, float given
--uppercase NULL--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, null given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, null given
--lowercase null--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, null given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, null given
--lowercase true--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, bool given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, bool given
--lowercase false--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, bool given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, bool given
--uppercase TRUE--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, bool given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, bool given
--uppercase FALSE--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, bool given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, bool given
--empty string DQ--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, string given
--empty string SQ--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, string given
--string DQ--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, string given
--string SQ--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, string given
--mixed case string--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, string given
--heredoc--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, string given
--instance of classWithToString--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, classWithToString given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, classWithoutToString given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, classWithoutToString given
--undefined var--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, null given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, null given
--unset var--
-array_udiff_assoc(): Argument #2 ($arr2) must be of type array, null given
+array_udiff_assoc(): Argument #2 ($array2) must be of type array, null given
diff --git a/ext/standard/tests/array/array_udiff_uassoc_variation1.phpt b/ext/standard/tests/array/array_udiff_uassoc_variation1.phpt
index a031e0c9e1..752c1c9a61 100644
--- a/ext/standard/tests/array/array_udiff_uassoc_variation1.phpt
+++ b/ext/standard/tests/array/array_udiff_uassoc_variation1.phpt
@@ -5,7 +5,7 @@ Test array_udiff_uassoc() function : usage variation
echo "*** Testing array_udiff_uassoc() : usage variation ***\n";
// Initialise function arguments not being substituted (if any)
-$arr2 = array(1, 2);
+$array2 = array(1, 2);
include('compare_function.inc');
$data_comp_func = 'compare_function';
@@ -83,12 +83,12 @@ $inputs = array(
'unset var' => @$unset_var,
);
-// loop through each element of the array for arr1
+// loop through each element of the array for array1
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
- var_dump( array_udiff_uassoc($value, $arr2, $data_comp_func, $key_comp_func) );
+ var_dump( array_udiff_uassoc($value, $array2, $data_comp_func, $key_comp_func) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
@@ -99,76 +99,76 @@ foreach($inputs as $key =>$value) {
*** Testing array_udiff_uassoc() : usage variation ***
--int 0--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, int given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, int given
--int 1--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, int given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, int given
--int 12345--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, int given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, int given
--int -12345--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, int given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, int given
--float 10.5--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, float given
--float -10.5--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, float given
--float 12.3456789000e10--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, float given
--float -12.3456789000e10--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, float given
--float .5--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, float given
--uppercase NULL--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, null given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, null given
--lowercase null--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, null given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, null given
--lowercase true--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, bool given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, bool given
--lowercase false--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, bool given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, bool given
--uppercase TRUE--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, bool given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, bool given
--uppercase FALSE--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, bool given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, bool given
--empty string DQ--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, string given
--empty string SQ--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, string given
--string DQ--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, string given
--string SQ--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, string given
--mixed case string--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, string given
--heredoc--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, string given
--instance of classWithToString--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, classWithToString given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, classWithoutToString given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, classWithoutToString given
--undefined var--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, null given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, null given
--unset var--
-array_udiff_uassoc(): Argument #1 ($arr1) must be of type array, null given
+array_udiff_uassoc(): Argument #1 ($array1) must be of type array, null given
diff --git a/ext/standard/tests/array/array_udiff_uassoc_variation2.phpt b/ext/standard/tests/array/array_udiff_uassoc_variation2.phpt
index 4a9f1a9239..263657bd5c 100644
--- a/ext/standard/tests/array/array_udiff_uassoc_variation2.phpt
+++ b/ext/standard/tests/array/array_udiff_uassoc_variation2.phpt
@@ -5,7 +5,7 @@ Test array_udiff_uassoc() function : usage variation
echo "*** Testing array_udiff_uassoc() : usage variation ***\n";
// Initialise function arguments not being substituted (if any)
-$arr1 = array(1, 2);
+$array1 = array(1, 2);
include('compare_function.inc');
$data_comp_func = 'compare_function';
@@ -83,12 +83,12 @@ $inputs = array(
'unset var' => @$unset_var,
);
-// loop through each element of the array for arr2
+// loop through each element of the array for array2
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
- var_dump( array_udiff_uassoc($arr1, $value, $data_comp_func, $key_comp_func) );
+ var_dump( array_udiff_uassoc($array1, $value, $data_comp_func, $key_comp_func) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
@@ -99,76 +99,76 @@ foreach($inputs as $key =>$value) {
*** Testing array_udiff_uassoc() : usage variation ***
--int 0--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, int given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, int given
--int 1--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, int given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, int given
--int 12345--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, int given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, int given
--int -12345--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, int given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, int given
--float 10.5--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, float given
--float -10.5--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, float given
--float 12.3456789000e10--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, float given
--float -12.3456789000e10--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, float given
--float .5--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, float given
--uppercase NULL--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, null given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, null given
--lowercase null--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, null given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, null given
--lowercase true--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, bool given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, bool given
--lowercase false--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, bool given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, bool given
--uppercase TRUE--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, bool given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, bool given
--uppercase FALSE--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, bool given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, bool given
--empty string DQ--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, string given
--empty string SQ--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, string given
--string DQ--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, string given
--string SQ--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, string given
--mixed case string--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, string given
--heredoc--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, string given
--instance of classWithToString--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, classWithToString given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, classWithoutToString given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, classWithoutToString given
--undefined var--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, null given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, null given
--unset var--
-array_udiff_uassoc(): Argument #2 ($arr2) must be of type array, null given
+array_udiff_uassoc(): Argument #2 ($array2) must be of type array, null given
diff --git a/ext/standard/tests/array/array_udiff_variation1.phpt b/ext/standard/tests/array/array_udiff_variation1.phpt
index 4927dfd24a..1d929d4e50 100644
--- a/ext/standard/tests/array/array_udiff_variation1.phpt
+++ b/ext/standard/tests/array/array_udiff_variation1.phpt
@@ -5,7 +5,7 @@ Test array_udiff() function : usage variation
echo "*** Testing array_udiff() : usage variation ***\n";
// Initialise function arguments not being substituted (if any)
-$arr2 = array(1, 2);
+$array2 = array(1, 2);
include('compare_function.inc');
$data_comp_func = 'compare_function';
@@ -82,12 +82,12 @@ $inputs = array(
'unset var' => @$unset_var,
);
-// loop through each element of the array for arr1
+// loop through each element of the array for array1
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
- var_dump( array_udiff($value, $arr2, $data_comp_func) );
+ var_dump( array_udiff($value, $array2, $data_comp_func) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
@@ -98,76 +98,76 @@ foreach($inputs as $key =>$value) {
*** Testing array_udiff() : usage variation ***
--int 0--
-array_udiff(): Argument #1 ($arr1) must be of type array, int given
+array_udiff(): Argument #1 ($array1) must be of type array, int given
--int 1--
-array_udiff(): Argument #1 ($arr1) must be of type array, int given
+array_udiff(): Argument #1 ($array1) must be of type array, int given
--int 12345--
-array_udiff(): Argument #1 ($arr1) must be of type array, int given
+array_udiff(): Argument #1 ($array1) must be of type array, int given
--int -12345--
-array_udiff(): Argument #1 ($arr1) must be of type array, int given
+array_udiff(): Argument #1 ($array1) must be of type array, int given
--float 10.5--
-array_udiff(): Argument #1 ($arr1) must be of type array, float given
+array_udiff(): Argument #1 ($array1) must be of type array, float given
--float -10.5--
-array_udiff(): Argument #1 ($arr1) must be of type array, float given
+array_udiff(): Argument #1 ($array1) must be of type array, float given
--float 12.3456789000e10--
-array_udiff(): Argument #1 ($arr1) must be of type array, float given
+array_udiff(): Argument #1 ($array1) must be of type array, float given
--float -12.3456789000e10--
-array_udiff(): Argument #1 ($arr1) must be of type array, float given
+array_udiff(): Argument #1 ($array1) must be of type array, float given
--float .5--
-array_udiff(): Argument #1 ($arr1) must be of type array, float given
+array_udiff(): Argument #1 ($array1) must be of type array, float given
--uppercase NULL--
-array_udiff(): Argument #1 ($arr1) must be of type array, null given
+array_udiff(): Argument #1 ($array1) must be of type array, null given
--lowercase null--
-array_udiff(): Argument #1 ($arr1) must be of type array, null given
+array_udiff(): Argument #1 ($array1) must be of type array, null given
--lowercase true--
-array_udiff(): Argument #1 ($arr1) must be of type array, bool given
+array_udiff(): Argument #1 ($array1) must be of type array, bool given
--lowercase false--
-array_udiff(): Argument #1 ($arr1) must be of type array, bool given
+array_udiff(): Argument #1 ($array1) must be of type array, bool given
--uppercase TRUE--
-array_udiff(): Argument #1 ($arr1) must be of type array, bool given
+array_udiff(): Argument #1 ($array1) must be of type array, bool given
--uppercase FALSE--
-array_udiff(): Argument #1 ($arr1) must be of type array, bool given
+array_udiff(): Argument #1 ($array1) must be of type array, bool given
--empty string DQ--
-array_udiff(): Argument #1 ($arr1) must be of type array, string given
+array_udiff(): Argument #1 ($array1) must be of type array, string given
--empty string SQ--
-array_udiff(): Argument #1 ($arr1) must be of type array, string given
+array_udiff(): Argument #1 ($array1) must be of type array, string given
--string DQ--
-array_udiff(): Argument #1 ($arr1) must be of type array, string given
+array_udiff(): Argument #1 ($array1) must be of type array, string given
--string SQ--
-array_udiff(): Argument #1 ($arr1) must be of type array, string given
+array_udiff(): Argument #1 ($array1) must be of type array, string given
--mixed case string--
-array_udiff(): Argument #1 ($arr1) must be of type array, string given
+array_udiff(): Argument #1 ($array1) must be of type array, string given
--heredoc--
-array_udiff(): Argument #1 ($arr1) must be of type array, string given
+array_udiff(): Argument #1 ($array1) must be of type array, string given
--instance of classWithToString--
-array_udiff(): Argument #1 ($arr1) must be of type array, classWithToString given
+array_udiff(): Argument #1 ($array1) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_udiff(): Argument #1 ($arr1) must be of type array, classWithoutToString given
+array_udiff(): Argument #1 ($array1) must be of type array, classWithoutToString given
--undefined var--
-array_udiff(): Argument #1 ($arr1) must be of type array, null given
+array_udiff(): Argument #1 ($array1) must be of type array, null given
--unset var--
-array_udiff(): Argument #1 ($arr1) must be of type array, null given
+array_udiff(): Argument #1 ($array1) must be of type array, null given
diff --git a/ext/standard/tests/array/array_udiff_variation2.phpt b/ext/standard/tests/array/array_udiff_variation2.phpt
index a68c00ee13..447395488f 100644
--- a/ext/standard/tests/array/array_udiff_variation2.phpt
+++ b/ext/standard/tests/array/array_udiff_variation2.phpt
@@ -5,7 +5,7 @@ Test array_udiff() function : usage variation
echo "*** Testing array_udiff() : usage variation ***\n";
// Initialise function arguments not being substituted (if any)
-$arr1 = array(1, 2);
+$array1 = array(1, 2);
include('compare_function.inc');
$data_comp_func = 'compare_function';
@@ -82,12 +82,12 @@ $inputs = array(
'unset var' => @$unset_var,
);
-// loop through each element of the array for arr2
+// loop through each element of the array for array2
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
- var_dump( array_udiff($arr1, $value, $data_comp_func) );
+ var_dump( array_udiff($array1, $value, $data_comp_func) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
@@ -98,76 +98,76 @@ foreach($inputs as $key =>$value) {
*** Testing array_udiff() : usage variation ***
--int 0--
-array_udiff(): Argument #2 ($arr2) must be of type array, int given
+array_udiff(): Argument #2 ($array2) must be of type array, int given
--int 1--
-array_udiff(): Argument #2 ($arr2) must be of type array, int given
+array_udiff(): Argument #2 ($array2) must be of type array, int given
--int 12345--
-array_udiff(): Argument #2 ($arr2) must be of type array, int given
+array_udiff(): Argument #2 ($array2) must be of type array, int given
--int -12345--
-array_udiff(): Argument #2 ($arr2) must be of type array, int given
+array_udiff(): Argument #2 ($array2) must be of type array, int given
--float 10.5--
-array_udiff(): Argument #2 ($arr2) must be of type array, float given
+array_udiff(): Argument #2 ($array2) must be of type array, float given
--float -10.5--
-array_udiff(): Argument #2 ($arr2) must be of type array, float given
+array_udiff(): Argument #2 ($array2) must be of type array, float given
--float 12.3456789000e10--
-array_udiff(): Argument #2 ($arr2) must be of type array, float given
+array_udiff(): Argument #2 ($array2) must be of type array, float given
--float -12.3456789000e10--
-array_udiff(): Argument #2 ($arr2) must be of type array, float given
+array_udiff(): Argument #2 ($array2) must be of type array, float given
--float .5--
-array_udiff(): Argument #2 ($arr2) must be of type array, float given
+array_udiff(): Argument #2 ($array2) must be of type array, float given
--uppercase NULL--
-array_udiff(): Argument #2 ($arr2) must be of type array, null given
+array_udiff(): Argument #2 ($array2) must be of type array, null given
--lowercase null--
-array_udiff(): Argument #2 ($arr2) must be of type array, null given
+array_udiff(): Argument #2 ($array2) must be of type array, null given
--lowercase true--
-array_udiff(): Argument #2 ($arr2) must be of type array, bool given
+array_udiff(): Argument #2 ($array2) must be of type array, bool given
--lowercase false--
-array_udiff(): Argument #2 ($arr2) must be of type array, bool given
+array_udiff(): Argument #2 ($array2) must be of type array, bool given
--uppercase TRUE--
-array_udiff(): Argument #2 ($arr2) must be of type array, bool given
+array_udiff(): Argument #2 ($array2) must be of type array, bool given
--uppercase FALSE--
-array_udiff(): Argument #2 ($arr2) must be of type array, bool given
+array_udiff(): Argument #2 ($array2) must be of type array, bool given
--empty string DQ--
-array_udiff(): Argument #2 ($arr2) must be of type array, string given
+array_udiff(): Argument #2 ($array2) must be of type array, string given
--empty string SQ--
-array_udiff(): Argument #2 ($arr2) must be of type array, string given
+array_udiff(): Argument #2 ($array2) must be of type array, string given
--string DQ--
-array_udiff(): Argument #2 ($arr2) must be of type array, string given
+array_udiff(): Argument #2 ($array2) must be of type array, string given
--string SQ--
-array_udiff(): Argument #2 ($arr2) must be of type array, string given
+array_udiff(): Argument #2 ($array2) must be of type array, string given
--mixed case string--
-array_udiff(): Argument #2 ($arr2) must be of type array, string given
+array_udiff(): Argument #2 ($array2) must be of type array, string given
--heredoc--
-array_udiff(): Argument #2 ($arr2) must be of type array, string given
+array_udiff(): Argument #2 ($array2) must be of type array, string given
--instance of classWithToString--
-array_udiff(): Argument #2 ($arr2) must be of type array, classWithToString given
+array_udiff(): Argument #2 ($array2) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_udiff(): Argument #2 ($arr2) must be of type array, classWithoutToString given
+array_udiff(): Argument #2 ($array2) must be of type array, classWithoutToString given
--undefined var--
-array_udiff(): Argument #2 ($arr2) must be of type array, null given
+array_udiff(): Argument #2 ($array2) must be of type array, null given
--unset var--
-array_udiff(): Argument #2 ($arr2) must be of type array, null given
+array_udiff(): Argument #2 ($array2) must be of type array, null given
diff --git a/ext/standard/tests/array/array_uintersect_assoc_variation1.phpt b/ext/standard/tests/array/array_uintersect_assoc_variation1.phpt
index 67c599dbfc..c339b9094b 100644
--- a/ext/standard/tests/array/array_uintersect_assoc_variation1.phpt
+++ b/ext/standard/tests/array/array_uintersect_assoc_variation1.phpt
@@ -5,7 +5,7 @@ Test array_uintersect_assoc() function : usage variation
echo "*** Testing array_uintersect_assoc() : usage variation ***\n";
// Initialise function arguments not being substituted (if any)
-$arr2 = array(1, 2);
+$array2 = array(1, 2);
include('compare_function.inc');
$data_compare_function = 'compare_function';
@@ -82,12 +82,12 @@ $inputs = array(
'unset var' => @$unset_var,
);
-// loop through each element of the array for arr1
+// loop through each element of the array for array1
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
- var_dump( array_uintersect_assoc($value, $arr2, $data_compare_function) );
+ var_dump( array_uintersect_assoc($value, $array2, $data_compare_function) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
@@ -98,76 +98,76 @@ foreach($inputs as $key =>$value) {
*** Testing array_uintersect_assoc() : usage variation ***
--int 0--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, int given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, int given
--int 1--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, int given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, int given
--int 12345--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, int given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, int given
--int -12345--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, int given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, int given
--float 10.5--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, float given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, float given
--float -10.5--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, float given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, float given
--float 12.3456789000e10--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, float given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, float given
--float -12.3456789000e10--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, float given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, float given
--float .5--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, float given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, float given
--uppercase NULL--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, null given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, null given
--lowercase null--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, null given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, null given
--lowercase true--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, bool given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, bool given
--lowercase false--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, bool given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, bool given
--uppercase TRUE--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, bool given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, bool given
--uppercase FALSE--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, bool given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, bool given
--empty string DQ--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, string given
--empty string SQ--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, string given
--string DQ--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, string given
--string SQ--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, string given
--mixed case string--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, string given
--heredoc--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, string given
--instance of classWithToString--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, classWithToString given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, classWithoutToString given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, classWithoutToString given
--undefined var--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, null given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, null given
--unset var--
-array_uintersect_assoc(): Argument #1 ($arr1) must be of type array, null given
+array_uintersect_assoc(): Argument #1 ($array1) must be of type array, null given
diff --git a/ext/standard/tests/array/array_uintersect_assoc_variation2.phpt b/ext/standard/tests/array/array_uintersect_assoc_variation2.phpt
index 6aecd534de..69b61d1a24 100644
--- a/ext/standard/tests/array/array_uintersect_assoc_variation2.phpt
+++ b/ext/standard/tests/array/array_uintersect_assoc_variation2.phpt
@@ -5,7 +5,7 @@ Test array_uintersect_assoc() function : usage variation
echo "*** Testing array_uintersect_assoc() : usage variation ***\n";
// Initialise function arguments not being substituted (if any)
-$arr1 = array(1, 2);
+$array1 = array(1, 2);
include('compare_function.inc');
$data_compare_function = 'compare_function';
@@ -82,12 +82,12 @@ $inputs = array(
'unset var' => @$unset_var,
);
-// loop through each element of the array for arr2
+// loop through each element of the array for array2
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
- var_dump( array_uintersect_assoc($arr1, $value, $data_compare_function) );
+ var_dump( array_uintersect_assoc($array1, $value, $data_compare_function) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
@@ -98,76 +98,76 @@ foreach($inputs as $key =>$value) {
*** Testing array_uintersect_assoc() : usage variation ***
--int 0--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, int given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, int given
--int 1--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, int given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, int given
--int 12345--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, int given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, int given
--int -12345--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, int given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, int given
--float 10.5--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, float given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, float given
--float -10.5--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, float given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, float given
--float 12.3456789000e10--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, float given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, float given
--float -12.3456789000e10--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, float given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, float given
--float .5--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, float given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, float given
--uppercase NULL--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, null given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, null given
--lowercase null--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, null given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, null given
--lowercase true--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, bool given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, bool given
--lowercase false--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, bool given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, bool given
--uppercase TRUE--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, bool given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, bool given
--uppercase FALSE--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, bool given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, bool given
--empty string DQ--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, string given
--empty string SQ--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, string given
--string DQ--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, string given
--string SQ--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, string given
--mixed case string--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, string given
--heredoc--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, string given
--instance of classWithToString--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, classWithToString given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, classWithoutToString given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, classWithoutToString given
--undefined var--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, null given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, null given
--unset var--
-array_uintersect_assoc(): Argument #2 ($arr2) must be of type array, null given
+array_uintersect_assoc(): Argument #2 ($array2) must be of type array, null given
diff --git a/ext/standard/tests/array/array_uintersect_uassoc_variation1.phpt b/ext/standard/tests/array/array_uintersect_uassoc_variation1.phpt
index 27deec619d..c946c1f634 100644
--- a/ext/standard/tests/array/array_uintersect_uassoc_variation1.phpt
+++ b/ext/standard/tests/array/array_uintersect_uassoc_variation1.phpt
@@ -5,7 +5,7 @@ Test array_uintersect_uassoc() function : usage variation
echo "*** Testing array_uintersect_uassoc() : usage variation ***\n";
// Initialise function arguments not being substituted (if any)
-$arr2 = array(1, 2);
+$array2 = array(1, 2);
include('compare_function.inc');
$data_compare_func = 'compare_function';
@@ -83,12 +83,12 @@ $inputs = array(
'unset var' => @$unset_var,
);
-// loop through each element of the array for arr1
+// loop through each element of the array for array1
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
- var_dump( array_uintersect_uassoc($value, $arr2, $data_compare_func, $key_compare_func) );
+ var_dump( array_uintersect_uassoc($value, $array2, $data_compare_func, $key_compare_func) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
@@ -99,76 +99,76 @@ foreach($inputs as $key =>$value) {
*** Testing array_uintersect_uassoc() : usage variation ***
--int 0--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, int given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, int given
--int 1--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, int given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, int given
--int 12345--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, int given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, int given
--int -12345--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, int given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, int given
--float 10.5--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, float given
--float -10.5--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, float given
--float 12.3456789000e10--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, float given
--float -12.3456789000e10--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, float given
--float .5--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, float given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, float given
--uppercase NULL--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, null given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, null given
--lowercase null--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, null given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, null given
--lowercase true--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, bool given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, bool given
--lowercase false--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, bool given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, bool given
--uppercase TRUE--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, bool given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, bool given
--uppercase FALSE--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, bool given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, bool given
--empty string DQ--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, string given
--empty string SQ--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, string given
--string DQ--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, string given
--string SQ--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, string given
--mixed case string--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, string given
--heredoc--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, string given
--instance of classWithToString--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, classWithToString given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, classWithoutToString given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, classWithoutToString given
--undefined var--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, null given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, null given
--unset var--
-array_uintersect_uassoc(): Argument #1 ($arr1) must be of type array, null given
+array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, null given
diff --git a/ext/standard/tests/array/array_uintersect_uassoc_variation2.phpt b/ext/standard/tests/array/array_uintersect_uassoc_variation2.phpt
index dcb4e4161f..e2171f1453 100644
--- a/ext/standard/tests/array/array_uintersect_uassoc_variation2.phpt
+++ b/ext/standard/tests/array/array_uintersect_uassoc_variation2.phpt
@@ -5,7 +5,7 @@ Test array_uintersect_uassoc() function : usage variation
echo "*** Testing array_uintersect_uassoc() : usage variation ***\n";
// Initialise function arguments not being substituted (if any)
-$arr1 = array(1, 2);
+$array1 = array(1, 2);
include('compare_function.inc');
$data_compare_func = 'compare_function';
@@ -83,12 +83,12 @@ $inputs = array(
'unset var' => @$unset_var,
);
-// loop through each element of the array for arr2
+// loop through each element of the array for array2
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
- var_dump( array_uintersect_uassoc($arr1, $value, $data_compare_func, $key_compare_func) );
+ var_dump( array_uintersect_uassoc($array1, $value, $data_compare_func, $key_compare_func) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
@@ -99,76 +99,76 @@ foreach($inputs as $key =>$value) {
*** Testing array_uintersect_uassoc() : usage variation ***
--int 0--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, int given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, int given
--int 1--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, int given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, int given
--int 12345--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, int given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, int given
--int -12345--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, int given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, int given
--float 10.5--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, float given
--float -10.5--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, float given
--float 12.3456789000e10--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, float given
--float -12.3456789000e10--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, float given
--float .5--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, float given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, float given
--uppercase NULL--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, null given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, null given
--lowercase null--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, null given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, null given
--lowercase true--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, bool given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, bool given
--lowercase false--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, bool given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, bool given
--uppercase TRUE--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, bool given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, bool given
--uppercase FALSE--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, bool given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, bool given
--empty string DQ--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, string given
--empty string SQ--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, string given
--string DQ--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, string given
--string SQ--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, string given
--mixed case string--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, string given
--heredoc--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, string given
--instance of classWithToString--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, classWithToString given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, classWithoutToString given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, classWithoutToString given
--undefined var--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, null given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, null given
--unset var--
-array_uintersect_uassoc(): Argument #2 ($arr2) must be of type array, null given
+array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, null given
diff --git a/ext/standard/tests/array/array_uintersect_variation1.phpt b/ext/standard/tests/array/array_uintersect_variation1.phpt
index 7b07d09cfb..c593a95fe6 100644
--- a/ext/standard/tests/array/array_uintersect_variation1.phpt
+++ b/ext/standard/tests/array/array_uintersect_variation1.phpt
@@ -5,7 +5,7 @@ Test array_uintersect() function : usage variation
echo "*** Testing array_uintersect() : usage variation ***\n";
// Initialise function arguments not being substituted (if any)
-$arr2 = array(1, 2);
+$array2 = array(1, 2);
include('compare_function.inc');
$data_compare_function = 'compare_function';
@@ -82,12 +82,12 @@ $inputs = array(
'unset var' => @$unset_var,
);
-// loop through each element of the array for arr1
+// loop through each element of the array for array1
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
- var_dump( array_uintersect($value, $arr2, $data_compare_function) );
+ var_dump( array_uintersect($value, $array2, $data_compare_function) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
@@ -98,76 +98,76 @@ foreach($inputs as $key =>$value) {
*** Testing array_uintersect() : usage variation ***
--int 0--
-array_uintersect(): Argument #1 ($arr1) must be of type array, int given
+array_uintersect(): Argument #1 ($array1) must be of type array, int given
--int 1--
-array_uintersect(): Argument #1 ($arr1) must be of type array, int given
+array_uintersect(): Argument #1 ($array1) must be of type array, int given
--int 12345--
-array_uintersect(): Argument #1 ($arr1) must be of type array, int given
+array_uintersect(): Argument #1 ($array1) must be of type array, int given
--int -12345--
-array_uintersect(): Argument #1 ($arr1) must be of type array, int given
+array_uintersect(): Argument #1 ($array1) must be of type array, int given
--float 10.5--
-array_uintersect(): Argument #1 ($arr1) must be of type array, float given
+array_uintersect(): Argument #1 ($array1) must be of type array, float given
--float -10.5--
-array_uintersect(): Argument #1 ($arr1) must be of type array, float given
+array_uintersect(): Argument #1 ($array1) must be of type array, float given
--float 12.3456789000e10--
-array_uintersect(): Argument #1 ($arr1) must be of type array, float given
+array_uintersect(): Argument #1 ($array1) must be of type array, float given
--float -12.3456789000e10--
-array_uintersect(): Argument #1 ($arr1) must be of type array, float given
+array_uintersect(): Argument #1 ($array1) must be of type array, float given
--float .5--
-array_uintersect(): Argument #1 ($arr1) must be of type array, float given
+array_uintersect(): Argument #1 ($array1) must be of type array, float given
--uppercase NULL--
-array_uintersect(): Argument #1 ($arr1) must be of type array, null given
+array_uintersect(): Argument #1 ($array1) must be of type array, null given
--lowercase null--
-array_uintersect(): Argument #1 ($arr1) must be of type array, null given
+array_uintersect(): Argument #1 ($array1) must be of type array, null given
--lowercase true--
-array_uintersect(): Argument #1 ($arr1) must be of type array, bool given
+array_uintersect(): Argument #1 ($array1) must be of type array, bool given
--lowercase false--
-array_uintersect(): Argument #1 ($arr1) must be of type array, bool given
+array_uintersect(): Argument #1 ($array1) must be of type array, bool given
--uppercase TRUE--
-array_uintersect(): Argument #1 ($arr1) must be of type array, bool given
+array_uintersect(): Argument #1 ($array1) must be of type array, bool given
--uppercase FALSE--
-array_uintersect(): Argument #1 ($arr1) must be of type array, bool given
+array_uintersect(): Argument #1 ($array1) must be of type array, bool given
--empty string DQ--
-array_uintersect(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect(): Argument #1 ($array1) must be of type array, string given
--empty string SQ--
-array_uintersect(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect(): Argument #1 ($array1) must be of type array, string given
--string DQ--
-array_uintersect(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect(): Argument #1 ($array1) must be of type array, string given
--string SQ--
-array_uintersect(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect(): Argument #1 ($array1) must be of type array, string given
--mixed case string--
-array_uintersect(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect(): Argument #1 ($array1) must be of type array, string given
--heredoc--
-array_uintersect(): Argument #1 ($arr1) must be of type array, string given
+array_uintersect(): Argument #1 ($array1) must be of type array, string given
--instance of classWithToString--
-array_uintersect(): Argument #1 ($arr1) must be of type array, classWithToString given
+array_uintersect(): Argument #1 ($array1) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_uintersect(): Argument #1 ($arr1) must be of type array, classWithoutToString given
+array_uintersect(): Argument #1 ($array1) must be of type array, classWithoutToString given
--undefined var--
-array_uintersect(): Argument #1 ($arr1) must be of type array, null given
+array_uintersect(): Argument #1 ($array1) must be of type array, null given
--unset var--
-array_uintersect(): Argument #1 ($arr1) must be of type array, null given
+array_uintersect(): Argument #1 ($array1) must be of type array, null given
diff --git a/ext/standard/tests/array/array_uintersect_variation2.phpt b/ext/standard/tests/array/array_uintersect_variation2.phpt
index 91c41f7cab..515b1ef207 100644
--- a/ext/standard/tests/array/array_uintersect_variation2.phpt
+++ b/ext/standard/tests/array/array_uintersect_variation2.phpt
@@ -5,7 +5,7 @@ Test array_uintersect() function : usage variation
echo "*** Testing array_uintersect() : usage variation ***\n";
// Initialise function arguments not being substituted (if any)
-$arr1 = array(1, 2);
+$array1 = array(1, 2);
include('compare_function.inc');
$data_compare_function = 'compare_function';
@@ -82,12 +82,12 @@ $inputs = array(
'unset var' => @$unset_var,
);
-// loop through each element of the array for arr2
+// loop through each element of the array for array2
foreach($inputs as $key =>$value) {
echo "\n--$key--\n";
try {
- var_dump( array_uintersect($arr1, $value, $data_compare_function) );
+ var_dump( array_uintersect($array1, $value, $data_compare_function) );
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
@@ -98,76 +98,76 @@ foreach($inputs as $key =>$value) {
*** Testing array_uintersect() : usage variation ***
--int 0--
-array_uintersect(): Argument #2 ($arr2) must be of type array, int given
+array_uintersect(): Argument #2 ($array2) must be of type array, int given
--int 1--
-array_uintersect(): Argument #2 ($arr2) must be of type array, int given
+array_uintersect(): Argument #2 ($array2) must be of type array, int given
--int 12345--
-array_uintersect(): Argument #2 ($arr2) must be of type array, int given
+array_uintersect(): Argument #2 ($array2) must be of type array, int given
--int -12345--
-array_uintersect(): Argument #2 ($arr2) must be of type array, int given
+array_uintersect(): Argument #2 ($array2) must be of type array, int given
--float 10.5--
-array_uintersect(): Argument #2 ($arr2) must be of type array, float given
+array_uintersect(): Argument #2 ($array2) must be of type array, float given
--float -10.5--
-array_uintersect(): Argument #2 ($arr2) must be of type array, float given
+array_uintersect(): Argument #2 ($array2) must be of type array, float given
--float 12.3456789000e10--
-array_uintersect(): Argument #2 ($arr2) must be of type array, float given
+array_uintersect(): Argument #2 ($array2) must be of type array, float given
--float -12.3456789000e10--
-array_uintersect(): Argument #2 ($arr2) must be of type array, float given
+array_uintersect(): Argument #2 ($array2) must be of type array, float given
--float .5--
-array_uintersect(): Argument #2 ($arr2) must be of type array, float given
+array_uintersect(): Argument #2 ($array2) must be of type array, float given
--uppercase NULL--
-array_uintersect(): Argument #2 ($arr2) must be of type array, null given
+array_uintersect(): Argument #2 ($array2) must be of type array, null given
--lowercase null--
-array_uintersect(): Argument #2 ($arr2) must be of type array, null given
+array_uintersect(): Argument #2 ($array2) must be of type array, null given
--lowercase true--
-array_uintersect(): Argument #2 ($arr2) must be of type array, bool given
+array_uintersect(): Argument #2 ($array2) must be of type array, bool given
--lowercase false--
-array_uintersect(): Argument #2 ($arr2) must be of type array, bool given
+array_uintersect(): Argument #2 ($array2) must be of type array, bool given
--uppercase TRUE--
-array_uintersect(): Argument #2 ($arr2) must be of type array, bool given
+array_uintersect(): Argument #2 ($array2) must be of type array, bool given
--uppercase FALSE--
-array_uintersect(): Argument #2 ($arr2) must be of type array, bool given
+array_uintersect(): Argument #2 ($array2) must be of type array, bool given
--empty string DQ--
-array_uintersect(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect(): Argument #2 ($array2) must be of type array, string given
--empty string SQ--
-array_uintersect(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect(): Argument #2 ($array2) must be of type array, string given
--string DQ--
-array_uintersect(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect(): Argument #2 ($array2) must be of type array, string given
--string SQ--
-array_uintersect(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect(): Argument #2 ($array2) must be of type array, string given
--mixed case string--
-array_uintersect(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect(): Argument #2 ($array2) must be of type array, string given
--heredoc--
-array_uintersect(): Argument #2 ($arr2) must be of type array, string given
+array_uintersect(): Argument #2 ($array2) must be of type array, string given
--instance of classWithToString--
-array_uintersect(): Argument #2 ($arr2) must be of type array, classWithToString given
+array_uintersect(): Argument #2 ($array2) must be of type array, classWithToString given
--instance of classWithoutToString--
-array_uintersect(): Argument #2 ($arr2) must be of type array, classWithoutToString given
+array_uintersect(): Argument #2 ($array2) must be of type array, classWithoutToString given
--undefined var--
-array_uintersect(): Argument #2 ($arr2) must be of type array, null given
+array_uintersect(): Argument #2 ($array2) must be of type array, null given
--unset var--
-array_uintersect(): Argument #2 ($arr2) must be of type array, null given
+array_uintersect(): Argument #2 ($array2) must be of type array, null given
diff --git a/ext/standard/tests/array/bug40191.phpt b/ext/standard/tests/array/bug40191.phpt
index 2cfa6279cc..c1a0d6b6c3 100644
--- a/ext/standard/tests/array/bug40191.phpt
+++ b/ext/standard/tests/array/bug40191.phpt
@@ -17,5 +17,5 @@ try {
echo "Done\n";
?>
--EXPECT--
-array_unique(): Argument #1 ($arg) must be of type array, ArrayObject given
+array_unique(): Argument #1 ($array) must be of type array, ArrayObject given
Done