]> granicus.if.org Git - php/commitdiff
Allow array_diff() and array_intersect() with single array argument
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 8 Sep 2020 13:14:48 +0000 (15:14 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 9 Sep 2020 09:03:17 +0000 (11:03 +0200)
Both of these functions are well-defined when used with a single
array argument -- rejecting this case was an artificial limitation.
This is not useful when called with explicit arguments, but removes
edge-cases when used with argument unpacking:

    // OK even if $excludes is empty.
    array_diff($array, ...$excludes);

    // OK even if $arrays contains a single array only.
    array_intersect(...$arrays);

This matches the behavior of functions like array_merge() and
array_push(), which also allow calls with no array or a single
array respectively.

Closes GH-6097.

46 files changed:
UPGRADING
Zend/tests/function_arguments/argument_count_incorrect_internal_strict.phpt
ext/standard/array.c
ext/standard/basic_functions.stub.php
ext/standard/basic_functions_arginfo.h
ext/standard/tests/array/array_diff_1.phpt
ext/standard/tests/array/array_diff_assoc_error.phpt [deleted file]
ext/standard/tests/array/array_diff_assoc_variation1.phpt
ext/standard/tests/array/array_diff_assoc_variation2.phpt
ext/standard/tests/array/array_diff_error.phpt [deleted file]
ext/standard/tests/array/array_diff_key_error.phpt [deleted file]
ext/standard/tests/array/array_diff_key_variation1.phpt
ext/standard/tests/array/array_diff_key_variation2.phpt
ext/standard/tests/array/array_diff_single_array.phpt [new file with mode: 0644]
ext/standard/tests/array/array_diff_uassoc_error.phpt
ext/standard/tests/array/array_diff_uassoc_variation1.phpt
ext/standard/tests/array/array_diff_uassoc_variation2.phpt
ext/standard/tests/array/array_diff_ukey_variation1.phpt
ext/standard/tests/array/array_diff_ukey_variation2.phpt
ext/standard/tests/array/array_diff_variation1.phpt
ext/standard/tests/array/array_diff_variation2.phpt
ext/standard/tests/array/array_intersect_assoc_error.phpt [deleted file]
ext/standard/tests/array/array_intersect_assoc_variation1.phpt
ext/standard/tests/array/array_intersect_assoc_variation2.phpt
ext/standard/tests/array/array_intersect_error.phpt [deleted file]
ext/standard/tests/array/array_intersect_key_error.phpt [deleted file]
ext/standard/tests/array/array_intersect_key_variation1.phpt
ext/standard/tests/array/array_intersect_key_variation2.phpt
ext/standard/tests/array/array_intersect_uassoc_variation1.phpt
ext/standard/tests/array/array_intersect_uassoc_variation2.phpt
ext/standard/tests/array/array_intersect_ukey_variation1.phpt
ext/standard/tests/array/array_intersect_ukey_variation2.phpt
ext/standard/tests/array/array_intersect_variation1.phpt
ext/standard/tests/array/array_intersect_variation2.phpt
ext/standard/tests/array/array_udiff_assoc_variation1.phpt
ext/standard/tests/array/array_udiff_assoc_variation2.phpt
ext/standard/tests/array/array_udiff_uassoc_variation1.phpt
ext/standard/tests/array/array_udiff_uassoc_variation2.phpt
ext/standard/tests/array/array_udiff_variation1.phpt
ext/standard/tests/array/array_udiff_variation2.phpt
ext/standard/tests/array/array_uintersect_assoc_variation1.phpt
ext/standard/tests/array/array_uintersect_assoc_variation2.phpt
ext/standard/tests/array/array_uintersect_uassoc_variation1.phpt
ext/standard/tests/array/array_uintersect_uassoc_variation2.phpt
ext/standard/tests/array/array_uintersect_variation1.phpt
ext/standard/tests/array/array_uintersect_variation2.phpt

index 3d37c2db2557bf50a5fd7434aa1147450dd09896..f98ae50d1b3e2e580be7982e5caa3121984aea0d 100644 (file)
--- a/UPGRADING
+++ b/UPGRADING
@@ -771,6 +771,14 @@ PHP 8.0 UPGRADE NOTES
   . Sorting functions are now stable, which means that equal-comparing elements
     will retain their original order.
     RFC: https://wiki.php.net/rfc/stable_sorting
+  . array_diff(), array_intersect() and their variations can now be used with
+    a single array as argument. This means that usages like the following are
+    now possible:
+
+        // OK even if $excludes is empty.
+        array_diff($array, ...$excludes);
+        // OK even if $arrays only contains a single array.
+        array_intersect(...$arrays);
 
 - Zip:
   . Extension updated to version 1.19.0
index e3b5ad2deec525c69fbc0d321fe126c32675216a..2b809cdb731a518ef02eb7078648d04e834b50d7 100644 (file)
@@ -11,7 +11,7 @@ try {
 }
 
 try {
-    array_diff([]);
+    array_diff();
 } catch (ArgumentCountError $e) {
     echo get_class($e) . PHP_EOL;
     echo $e->getMessage(), "\n";
@@ -21,4 +21,4 @@ try {
 ArgumentCountError
 substr() expects at least 2 arguments, 1 given
 ArgumentCountError
-At least 2 arguments are required, 1 given
+array_diff() expects at least 1 argument, 0 given
index 7779ce78061128b4e2d0cd37b1103ba6531422f1..cb5e6e7dee6f1159ac475da58dff44fe406073e2 100644 (file)
@@ -4613,7 +4613,6 @@ static void php_array_intersect_key(INTERNAL_FUNCTION_PARAMETERS, int data_compa
        int (*intersect_data_compare_func)(zval *, zval *) = NULL;
        zend_bool ok;
        zval *val, *data;
-       int req_args;
        char *param_spec;
        zend_string *key;
        zend_ulong h;
@@ -4622,13 +4621,11 @@ static void php_array_intersect_key(INTERNAL_FUNCTION_PARAMETERS, int data_compa
        argc = ZEND_NUM_ARGS();
        if (data_compare_type == INTERSECT_COMP_DATA_USER) {
                /* INTERSECT_COMP_DATA_USER - array_uintersect_assoc() */
-               req_args = 3;
                param_spec = "+f";
                intersect_data_compare_func = zval_user_compare;
        } else {
                /*      INTERSECT_COMP_DATA_NONE - array_intersect_key()
                        INTERSECT_COMP_DATA_INTERNAL - array_intersect_assoc() */
-               req_args = 2;
                param_spec = "+";
 
                if (data_compare_type == INTERSECT_COMP_DATA_INTERNAL) {
@@ -4636,11 +4633,6 @@ static void php_array_intersect_key(INTERNAL_FUNCTION_PARAMETERS, int data_compa
                }
        }
 
-       if (argc < req_args) {
-               zend_argument_count_error("At least %d arguments are required, %d given", req_args, argc);
-               RETURN_THROWS();
-       }
-
        if (zend_parse_parameters(ZEND_NUM_ARGS(), param_spec, &args, &argc, &BG(user_compare_fci), &BG(user_compare_fci_cache)) == FAILURE) {
                RETURN_THROWS();
        }
@@ -4701,7 +4693,6 @@ static void php_array_intersect(INTERNAL_FUNCTION_PARAMETERS, int behavior, int
        int arr_argc, i, c = 0;
        uint32_t idx;
        Bucket **lists, *list, **ptrs, *p;
-       uint32_t req_args;
        char *param_spec;
        zend_fcall_info fci1, fci2;
        zend_fcall_info_cache fci1_cache = empty_fcall_info_cache, fci2_cache = empty_fcall_info_cache;
@@ -4717,12 +4708,10 @@ static void php_array_intersect(INTERNAL_FUNCTION_PARAMETERS, int behavior, int
 
                if (data_compare_type == INTERSECT_COMP_DATA_INTERNAL) {
                        /* array_intersect() */
-                       req_args = 2;
                        param_spec = "+";
                        intersect_data_compare_func = php_array_data_compare_string_unstable;
                } else if (data_compare_type == INTERSECT_COMP_DATA_USER) {
                        /* array_uintersect() */
-                       req_args = 3;
                        param_spec = "+f";
                        intersect_data_compare_func = php_array_user_compare_unstable;
                } else {
@@ -4730,11 +4719,6 @@ static void php_array_intersect(INTERNAL_FUNCTION_PARAMETERS, int behavior, int
                        return;
                }
 
-               if (ZEND_NUM_ARGS() < req_args) {
-                       zend_argument_count_error("At least %d arguments are required, %d given", req_args, ZEND_NUM_ARGS());
-                       RETURN_THROWS();
-               }
-
                if (zend_parse_parameters(ZEND_NUM_ARGS(), param_spec, &args, &arr_argc, &fci1, &fci1_cache) == FAILURE) {
                        RETURN_THROWS();
                }
@@ -4747,13 +4731,11 @@ static void php_array_intersect(INTERNAL_FUNCTION_PARAMETERS, int behavior, int
 
                if (data_compare_type == INTERSECT_COMP_DATA_INTERNAL && key_compare_type == INTERSECT_COMP_KEY_INTERNAL) {
                        /* array_intersect_assoc() or array_intersect_key() */
-                       req_args = 2;
                        param_spec = "+";
                        intersect_key_compare_func = php_array_key_compare_string_unstable;
                        intersect_data_compare_func = php_array_data_compare_string_unstable;
                } else if (data_compare_type == INTERSECT_COMP_DATA_USER && key_compare_type == INTERSECT_COMP_KEY_INTERNAL) {
                        /* array_uintersect_assoc() */
-                       req_args = 3;
                        param_spec = "+f";
                        intersect_key_compare_func = php_array_key_compare_string_unstable;
                        intersect_data_compare_func = php_array_user_compare_unstable;
@@ -4761,7 +4743,6 @@ static void php_array_intersect(INTERNAL_FUNCTION_PARAMETERS, int behavior, int
                        fci_data_cache = &fci1_cache;
                } else if (data_compare_type == INTERSECT_COMP_DATA_INTERNAL && key_compare_type == INTERSECT_COMP_KEY_USER) {
                        /* array_intersect_uassoc() or array_intersect_ukey() */
-                       req_args = 3;
                        param_spec = "+f";
                        intersect_key_compare_func = php_array_user_key_compare_unstable;
                        intersect_data_compare_func = php_array_data_compare_string_unstable;
@@ -4769,7 +4750,6 @@ static void php_array_intersect(INTERNAL_FUNCTION_PARAMETERS, int behavior, int
                        fci_key_cache = &fci1_cache;
                } else if (data_compare_type == INTERSECT_COMP_DATA_USER && key_compare_type == INTERSECT_COMP_KEY_USER) {
                        /* array_uintersect_uassoc() */
-                       req_args = 4;
                        param_spec = "+ff";
                        intersect_key_compare_func = php_array_user_key_compare_unstable;
                        intersect_data_compare_func = php_array_user_compare_unstable;
@@ -4782,11 +4762,6 @@ static void php_array_intersect(INTERNAL_FUNCTION_PARAMETERS, int behavior, int
                        return;
                }
 
-               if (ZEND_NUM_ARGS() < req_args) {
-                       zend_argument_count_error("At least %d arguments are required, %d given", req_args, ZEND_NUM_ARGS());
-                       RETURN_THROWS();
-               }
-
                if (zend_parse_parameters(ZEND_NUM_ARGS(), param_spec, &args, &arr_argc, &fci1, &fci1_cache, &fci2, &fci2_cache) == FAILURE) {
                        RETURN_THROWS();
                }
@@ -5023,19 +4998,11 @@ static void php_array_diff_key(INTERNAL_FUNCTION_PARAMETERS, int data_compare_ty
        /* Get the argument count */
        argc = ZEND_NUM_ARGS();
        if (data_compare_type == DIFF_COMP_DATA_USER) {
-               if (argc < 3) {
-                       zend_argument_count_error("At least 3 arguments are required, %d given", ZEND_NUM_ARGS());
-                       RETURN_THROWS();
-               }
                if (zend_parse_parameters(ZEND_NUM_ARGS(), "+f", &args, &argc, &BG(user_compare_fci), &BG(user_compare_fci_cache)) == FAILURE) {
                        RETURN_THROWS();
                }
                diff_data_compare_func = zval_user_compare;
        } else {
-               if (argc < 2) {
-                       zend_argument_count_error("At least 2 arguments are required, %d given", ZEND_NUM_ARGS());
-                       RETURN_THROWS();
-               }
                if (zend_parse_parameters(ZEND_NUM_ARGS(), "+", &args, &argc) == FAILURE) {
                        RETURN_THROWS();
                }
@@ -5100,7 +5067,6 @@ static void php_array_diff(INTERNAL_FUNCTION_PARAMETERS, int behavior, int data_
        int arr_argc, i, c;
        uint32_t idx;
        Bucket **lists, *list, **ptrs, *p;
-       uint32_t req_args;
        char *param_spec;
        zend_fcall_info fci1, fci2;
        zend_fcall_info_cache fci1_cache = empty_fcall_info_cache, fci2_cache = empty_fcall_info_cache;
@@ -5116,12 +5082,10 @@ static void php_array_diff(INTERNAL_FUNCTION_PARAMETERS, int behavior, int data_
 
                if (data_compare_type == DIFF_COMP_DATA_INTERNAL) {
                        /* array_diff */
-                       req_args = 2;
                        param_spec = "+";
                        diff_data_compare_func = php_array_data_compare_string_unstable;
                } else if (data_compare_type == DIFF_COMP_DATA_USER) {
                        /* array_udiff */
-                       req_args = 3;
                        param_spec = "+f";
                        diff_data_compare_func = php_array_user_compare_unstable;
                } else {
@@ -5129,11 +5093,6 @@ static void php_array_diff(INTERNAL_FUNCTION_PARAMETERS, int behavior, int data_
                        return;
                }
 
-               if (ZEND_NUM_ARGS() < req_args) {
-                       zend_argument_count_error("At least %d arguments are required, %d given", req_args, ZEND_NUM_ARGS());
-                       RETURN_THROWS();
-               }
-
                if (zend_parse_parameters(ZEND_NUM_ARGS(), param_spec, &args, &arr_argc, &fci1, &fci1_cache) == FAILURE) {
                        RETURN_THROWS();
                }
@@ -5146,13 +5105,11 @@ static void php_array_diff(INTERNAL_FUNCTION_PARAMETERS, int behavior, int data_
 
                if (data_compare_type == DIFF_COMP_DATA_INTERNAL && key_compare_type == DIFF_COMP_KEY_INTERNAL) {
                        /* array_diff_assoc() or array_diff_key() */
-                       req_args = 2;
                        param_spec = "+";
                        diff_key_compare_func = php_array_key_compare_string_unstable;
                        diff_data_compare_func = php_array_data_compare_string_unstable;
                } else if (data_compare_type == DIFF_COMP_DATA_USER && key_compare_type == DIFF_COMP_KEY_INTERNAL) {
                        /* array_udiff_assoc() */
-                       req_args = 3;
                        param_spec = "+f";
                        diff_key_compare_func = php_array_key_compare_string_unstable;
                        diff_data_compare_func = php_array_user_compare_unstable;
@@ -5160,7 +5117,6 @@ static void php_array_diff(INTERNAL_FUNCTION_PARAMETERS, int behavior, int data_
                        fci_data_cache = &fci1_cache;
                } else if (data_compare_type == DIFF_COMP_DATA_INTERNAL && key_compare_type == DIFF_COMP_KEY_USER) {
                        /* array_diff_uassoc() or array_diff_ukey() */
-                       req_args = 3;
                        param_spec = "+f";
                        diff_key_compare_func = php_array_user_key_compare_unstable;
                        diff_data_compare_func = php_array_data_compare_string_unstable;
@@ -5168,7 +5124,6 @@ static void php_array_diff(INTERNAL_FUNCTION_PARAMETERS, int behavior, int data_
                        fci_key_cache = &fci1_cache;
                } else if (data_compare_type == DIFF_COMP_DATA_USER && key_compare_type == DIFF_COMP_KEY_USER) {
                        /* array_udiff_uassoc() */
-                       req_args = 4;
                        param_spec = "+ff";
                        diff_key_compare_func = php_array_user_key_compare_unstable;
                        diff_data_compare_func = php_array_user_compare_unstable;
@@ -5181,11 +5136,6 @@ static void php_array_diff(INTERNAL_FUNCTION_PARAMETERS, int behavior, int data_
                        return;
                }
 
-               if (ZEND_NUM_ARGS() < req_args) {
-                       zend_argument_count_error("At least %d arguments are required, %d given", req_args, ZEND_NUM_ARGS());
-                       RETURN_THROWS();
-               }
-
                if (zend_parse_parameters(ZEND_NUM_ARGS(), param_spec, &args, &arr_argc, &fci1, &fci1_cache, &fci2, &fci2_cache) == FAILURE) {
                        RETURN_THROWS();
                }
@@ -5377,11 +5327,6 @@ PHP_FUNCTION(array_diff)
        zend_long idx;
        zval dummy;
 
-       if (ZEND_NUM_ARGS() < 2) {
-               zend_argument_count_error("At least 2 arguments are required, %d given", ZEND_NUM_ARGS());
-               RETURN_THROWS();
-       }
-
        ZEND_PARSE_PARAMETERS_START(1, -1)
                Z_PARAM_VARIADIC('+', args, argc)
        ZEND_PARSE_PARAMETERS_END();
index 8ec2eef3a78f468287f02eed938ecf3eba96cb19..e9aa1b0c62e548ece7cbc406b7c7bac6c4404d25 100755 (executable)
@@ -178,47 +178,47 @@ function array_change_key_case(array $array, int $case = CASE_LOWER): array {}
 
 function array_unique(array $array, int $flags = SORT_STRING): array {}
 
-function array_intersect_key(array $array1, array $array2, array ...$arrays): array {}
+function array_intersect_key(array $array, array ...$arrays): array {}
 
 /** @param array|callable $rest */
-function array_intersect_ukey(array $array1, array $array2, ...$rest): array {}
+function array_intersect_ukey(array $array, ...$rest): array {}
 
-function array_intersect(array $array1, array $array2, array ...$arrays): array {}
+function array_intersect(array $array, array ...$arrays): array {}
 
 /** @param array|callable $rest */
-function array_uintersect(array $array1, array $array2, ...$rest): array {}
+function array_uintersect(array $array, ...$rest): array {}
 
-function array_intersect_assoc(array $array1, array $array2, array ...$arrays): array {}
+function array_intersect_assoc(array $array, array ...$arrays): array {}
 
 /** @param array|callable $rest */
-function array_uintersect_assoc(array $array1, array $array2, ...$rest): array {}
+function array_uintersect_assoc(array $array, ...$rest): array {}
 
 /** @param array|callable $rest */
-function array_intersect_uassoc(array $array1, array $array2, ...$rest): array {}
+function array_intersect_uassoc(array $array, ...$rest): array {}
 
 /** @param array|callable $rest */
-function array_uintersect_uassoc(array $array1, array $array2, ...$rest): array {}
+function array_uintersect_uassoc(array $array, ...$rest): array {}
 
-function array_diff_key(array $array1, array $array2, array ...$arrays): array {}
+function array_diff_key(array $array, array ...$arrays): array {}
 
 /** @param array|callable $rest */
-function array_diff_ukey(array $array1, array $array2, ...$rest): array {}
+function array_diff_ukey(array $array, ...$rest): array {}
 
-function array_diff(array $array1, array $array2, array ...$arrays): array {}
+function array_diff(array $array, array ...$arrays): array {}
 
 /** @param array|callable $rest */
-function array_udiff(array $array1, array $array2, ...$rest): array {}
+function array_udiff(array $array, ...$rest): array {}
 
-function array_diff_assoc(array $array1, array $array2, array ...$arrays): array {}
+function array_diff_assoc(array $array, array ...$arrays): array {}
 
 /** @param array|callable $rest */
-function array_diff_uassoc(array $array1, array $array2, ...$rest): array {}
+function array_diff_uassoc(array $array, ...$rest): array {}
 
 /** @param array|callable $rest */
-function array_udiff_assoc(array $array1, array $array2, ...$rest): array {}
+function array_udiff_assoc(array $array, ...$rest): array {}
 
 /** @param array|callable $rest */
-function array_udiff_uassoc(array $array1, array $array2, ...$rest): array {}
+function array_udiff_uassoc(array $array, ...$rest): array {}
 
 /**
  * @param array $array1
index 17ab235dbb8f8fde5b11b65a107b325ff22da1aa..46204d773b558dfcab7a0e87f347a0e6c0241ccd 100755 (executable)
@@ -1,5 +1,5 @@
 /* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 1d2a7229aa506c8da54ecbed6480836aa14fd484 */
+ * Stub hash: 56f49d359d2b11383a3f1401d0a3730192c28fc0 */
 
 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_set_time_limit, 0, 1, _IS_BOOL, 0)
        ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0)
@@ -273,15 +273,13 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_unique, 0, 1, IS_ARRAY, 0)
        ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "SORT_STRING")
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_intersect_key, 0, 2, IS_ARRAY, 0)
-       ZEND_ARG_TYPE_INFO(0, array1, IS_ARRAY, 0)
-       ZEND_ARG_TYPE_INFO(0, array2, IS_ARRAY, 0)
+ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_intersect_key, 0, 1, IS_ARRAY, 0)
+       ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
        ZEND_ARG_VARIADIC_TYPE_INFO(0, arrays, IS_ARRAY, 0)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_intersect_ukey, 0, 2, IS_ARRAY, 0)
-       ZEND_ARG_TYPE_INFO(0, array1, IS_ARRAY, 0)
-       ZEND_ARG_TYPE_INFO(0, array2, IS_ARRAY, 0)
+ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_intersect_ukey, 0, 1, IS_ARRAY, 0)
+       ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
        ZEND_ARG_VARIADIC_INFO(0, rest)
 ZEND_END_ARG_INFO()
 
index 39ddfed8b031a9150d0ef3776e0aeaf280fa1684..7b58077e95afc9eecd336feba3ba763b80e77733 100644 (file)
@@ -15,5 +15,5 @@ try {
 echo "OK!";
 ?>
 --EXPECT--
-array_diff(): Argument #2 ($array2) must be of type array, int given
+array_diff(): Argument #2 must be of type array, int given
 OK!
diff --git a/ext/standard/tests/array/array_diff_assoc_error.phpt b/ext/standard/tests/array/array_diff_assoc_error.phpt
deleted file mode 100644 (file)
index bc2a1e7..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
---TEST--
-Test array_diff_assoc() function : error conditions - pass array_diff_assoc() too few/zero arguments
---FILE--
-<?php
-/*
- * Test errors for array_diff with too few\zero arguments
- */
-
-echo "*** Testing array_diff_assoc() : error conditions ***\n";
-
-// Zero arguments
-echo "\n-- Testing array_diff_assoc() function with zero arguments --\n";
-try {
-    var_dump( array_diff_assoc() );
-} catch (ArgumentCountError $e) {
-    echo $e->getMessage(), "\n";
-}
-
-// Testing array_diff_assoc with one less than the expected number of arguments
-echo "\n-- Testing array_diff_assoc() function with less than expected no. of arguments --\n";
-$arr1 = array(1, 2);
-try {
-    var_dump( array_diff_assoc($arr1) );
-} catch (ArgumentCountError $e) {
-    echo $e->getMessage(), "\n";
-}
-
-echo "Done";
-?>
---EXPECT--
-*** Testing array_diff_assoc() : error conditions ***
-
--- Testing array_diff_assoc() function with zero arguments --
-At least 2 arguments are required, 0 given
-
--- Testing array_diff_assoc() function with less than expected no. of arguments --
-At least 2 arguments are required, 1 given
-Done
index 035b343c32b2e1710ca08541ff55396c9772777e..0909348620f5b696d37d7f533a51e7ced8f6fce2 100644 (file)
@@ -100,80 +100,80 @@ echo "Done";
 *** Testing array_diff_assoc() : usage variations ***
 
 -- Iteration 1 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, int given
+array_diff_assoc(): Argument #1 ($array) must be of type array, int given
 
 -- Iteration 2 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, int given
+array_diff_assoc(): Argument #1 ($array) must be of type array, int given
 
 -- Iteration 3 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, int given
+array_diff_assoc(): Argument #1 ($array) must be of type array, int given
 
 -- Iteration 4 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, int given
+array_diff_assoc(): Argument #1 ($array) must be of type array, int given
 
 -- Iteration 5 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, float given
+array_diff_assoc(): Argument #1 ($array) must be of type array, float given
 
 -- Iteration 6 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, float given
+array_diff_assoc(): Argument #1 ($array) must be of type array, float given
 
 -- Iteration 7 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, float given
+array_diff_assoc(): Argument #1 ($array) must be of type array, float given
 
 -- Iteration 8 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, float given
+array_diff_assoc(): Argument #1 ($array) must be of type array, float given
 
 -- Iteration 9 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, float given
+array_diff_assoc(): Argument #1 ($array) must be of type array, float given
 
 -- Iteration 10 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, null given
+array_diff_assoc(): Argument #1 ($array) must be of type array, null given
 
 -- Iteration 11 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, null given
+array_diff_assoc(): Argument #1 ($array) must be of type array, null given
 
 -- Iteration 12 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, bool given
+array_diff_assoc(): Argument #1 ($array) must be of type array, bool given
 
 -- Iteration 13 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, bool given
+array_diff_assoc(): Argument #1 ($array) must be of type array, bool given
 
 -- Iteration 14 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, bool given
+array_diff_assoc(): Argument #1 ($array) must be of type array, bool given
 
 -- Iteration 15 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, bool given
+array_diff_assoc(): Argument #1 ($array) must be of type array, bool given
 
 -- Iteration 16 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, string given
+array_diff_assoc(): Argument #1 ($array) must be of type array, string given
 
 -- Iteration 17 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, string given
+array_diff_assoc(): Argument #1 ($array) must be of type array, string given
 
 -- Iteration 18 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, string given
+array_diff_assoc(): Argument #1 ($array) must be of type array, string given
 
 -- Iteration 19 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, string given
+array_diff_assoc(): Argument #1 ($array) must be of type array, string given
 
 -- Iteration 20 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, string given
+array_diff_assoc(): Argument #1 ($array) must be of type array, string given
 
 -- Iteration 21 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, string given
+array_diff_assoc(): Argument #1 ($array) must be of type array, string given
 
 -- Iteration 22 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, string given
+array_diff_assoc(): Argument #1 ($array) must be of type array, string given
 
 -- Iteration 23 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, classA given
+array_diff_assoc(): Argument #1 ($array) must be of type array, classA given
 
 -- Iteration 24 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, null given
+array_diff_assoc(): Argument #1 ($array) must be of type array, null given
 
 -- Iteration 25 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, null given
+array_diff_assoc(): Argument #1 ($array) must be of type array, null given
 
 -- Iteration 26 --
-array_diff_assoc(): Argument #1 ($array1) must be of type array, resource given
+array_diff_assoc(): Argument #1 ($array) must be of type array, resource given
 Done
index 6871540fc4d60203f45d812dfbdc2eb6c248ce30..76967f2ce77bef0a2402441c7b179b37654b2a67 100644 (file)
@@ -100,80 +100,80 @@ echo "Done";
 *** Testing array_diff_assoc() : usage variations ***
 
 -- Iteration 1 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, int given
+array_diff_assoc(): Argument #2 must be of type array, int given
 
 -- Iteration 2 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, int given
+array_diff_assoc(): Argument #2 must be of type array, int given
 
 -- Iteration 3 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, int given
+array_diff_assoc(): Argument #2 must be of type array, int given
 
 -- Iteration 4 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, int given
+array_diff_assoc(): Argument #2 must be of type array, int given
 
 -- Iteration 5 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, float given
+array_diff_assoc(): Argument #2 must be of type array, float given
 
 -- Iteration 6 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, float given
+array_diff_assoc(): Argument #2 must be of type array, float given
 
 -- Iteration 7 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, float given
+array_diff_assoc(): Argument #2 must be of type array, float given
 
 -- Iteration 8 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, float given
+array_diff_assoc(): Argument #2 must be of type array, float given
 
 -- Iteration 9 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, float given
+array_diff_assoc(): Argument #2 must be of type array, float given
 
 -- Iteration 10 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, null given
+array_diff_assoc(): Argument #2 must be of type array, null given
 
 -- Iteration 11 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, null given
+array_diff_assoc(): Argument #2 must be of type array, null given
 
 -- Iteration 12 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, bool given
+array_diff_assoc(): Argument #2 must be of type array, bool given
 
 -- Iteration 13 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, bool given
+array_diff_assoc(): Argument #2 must be of type array, bool given
 
 -- Iteration 14 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, bool given
+array_diff_assoc(): Argument #2 must be of type array, bool given
 
 -- Iteration 15 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, bool given
+array_diff_assoc(): Argument #2 must be of type array, bool given
 
 -- Iteration 16 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, string given
+array_diff_assoc(): Argument #2 must be of type array, string given
 
 -- Iteration 17 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, string given
+array_diff_assoc(): Argument #2 must be of type array, string given
 
 -- Iteration 18 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, string given
+array_diff_assoc(): Argument #2 must be of type array, string given
 
 -- Iteration 19 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, string given
+array_diff_assoc(): Argument #2 must be of type array, string given
 
 -- Iteration 20 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, string given
+array_diff_assoc(): Argument #2 must be of type array, string given
 
 -- Iteration 21 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, string given
+array_diff_assoc(): Argument #2 must be of type array, string given
 
 -- Iteration 22 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, string given
+array_diff_assoc(): Argument #2 must be of type array, string given
 
 -- Iteration 23 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, classA given
+array_diff_assoc(): Argument #2 must be of type array, classA given
 
 -- Iteration 24 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, null given
+array_diff_assoc(): Argument #2 must be of type array, null given
 
 -- Iteration 25 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, null given
+array_diff_assoc(): Argument #2 must be of type array, null given
 
 -- Iteration 26 --
-array_diff_assoc(): Argument #2 ($array2) must be of type array, resource given
+array_diff_assoc(): Argument #2 must be of type array, resource given
 Done
diff --git a/ext/standard/tests/array/array_diff_error.phpt b/ext/standard/tests/array/array_diff_error.phpt
deleted file mode 100644 (file)
index 37a0681..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
---TEST--
-Test array_diff() function : error conditions - too few arguments passed to function
---FILE--
-<?php
-/*
- * Test array_diff with less than the expected number of arguments
- */
-
-echo "*** Testing array_diff() : error conditions ***\n";
-// Zero arguments
-echo "\n-- Testing array_diff() function with zero arguments --\n";
-try {
-    var_dump( array_diff() );
-} catch (ArgumentCountError $e) {
-    echo $e->getMessage(), "\n";
-}
-
-
-// Testing array_diff with one less than the expected number of arguments
-echo "\n-- Testing array_diff() function with less than expected no. of arguments --\n";
-$arr1 = array(1, 2);
-try {
-    var_dump( array_diff($arr1) );
-} catch (ArgumentCountError $e) {
-    echo $e->getMessage(), "\n";
-}
-
-echo "Done";
-?>
---EXPECT--
-*** Testing array_diff() : error conditions ***
-
--- Testing array_diff() function with zero arguments --
-At least 2 arguments are required, 0 given
-
--- Testing array_diff() function with less than expected no. of arguments --
-At least 2 arguments are required, 1 given
-Done
diff --git a/ext/standard/tests/array/array_diff_key_error.phpt b/ext/standard/tests/array/array_diff_key_error.phpt
deleted file mode 100644 (file)
index 1ac25ea..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
---TEST--
-Test array_diff_key() function : error conditions
---FILE--
-<?php
-echo "*** Testing array_diff_key() : error conditions ***\n";
-
-// Initialise the variables
-$array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4);
-
-// Testing array_diff_key with one less than the expected number of arguments
-echo "\n-- Testing array_diff_key() function with less than expected no. of arguments --\n";
-try {
-    var_dump( array_diff_key($array1) );
-} catch (TypeError $e) {
-    echo $e->getMessage(), "\n";
-}
-
-// Testing array_diff_key with no arguments
-echo "\n-- Testing array_diff_key() function with no arguments --\n";
-try {
-    var_dump( array_diff_key() );
-} catch (ArgumentCountError $e) {
-    echo $e->getMessage(), "\n";
-}
-?>
---EXPECT--
-*** Testing array_diff_key() : error conditions ***
-
--- Testing array_diff_key() function with less than expected no. of arguments --
-At least 2 arguments are required, 1 given
-
--- Testing array_diff_key() function with no arguments --
-At least 2 arguments are required, 0 given
index 8159e1316d3786bf53c808150f8d94ed0dad4574..525df63819b3308c136d6c78bec0551bcecb7e26 100644 (file)
@@ -103,105 +103,105 @@ fclose($fp);
 *** Testing array_diff_key() : usage variation ***
 
 --int 0--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, int given
+array_diff_key(): Argument #1 ($array) must be of type array, int given
 
 --int 1--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, int given
+array_diff_key(): Argument #1 ($array) must be of type array, int given
 
 --int 12345--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, int given
+array_diff_key(): Argument #1 ($array) must be of type array, int given
 
 --int -12345--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, int given
+array_diff_key(): Argument #1 ($array) must be of type array, int given
 
 --float 10.5--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, float given
+array_diff_key(): Argument #1 ($array) must be of type array, float given
 
 --float -10.5--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, float given
+array_diff_key(): Argument #1 ($array) must be of type array, float given
 
 --float 12.3456789000e10--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, float given
+array_diff_key(): Argument #1 ($array) must be of type array, float given
 
 --float -12.3456789000e10--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, float given
+array_diff_key(): Argument #1 ($array) must be of type array, float given
 
 --float .5--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, float given
+array_diff_key(): Argument #1 ($array) must be of type array, float given
 
 --uppercase NULL--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, null given
+array_diff_key(): Argument #1 ($array) must be of type array, null given
 
 --lowercase null--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, null given
+array_diff_key(): Argument #1 ($array) must be of type array, null given
 
 --lowercase true--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, bool given
+array_diff_key(): Argument #1 ($array) must be of type array, bool given
 
 --lowercase false--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, bool given
+array_diff_key(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase TRUE--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, bool given
+array_diff_key(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase FALSE--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, bool given
+array_diff_key(): Argument #1 ($array) must be of type array, bool given
 
 --empty string DQ--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, string given
+array_diff_key(): Argument #1 ($array) must be of type array, string given
 
 --empty string SQ--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, string given
+array_diff_key(): Argument #1 ($array) must be of type array, string given
 
 --string DQ--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, string given
+array_diff_key(): Argument #1 ($array) must be of type array, string given
 
 --string SQ--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, string given
+array_diff_key(): Argument #1 ($array) must be of type array, string given
 
 --mixed case string--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, string given
+array_diff_key(): Argument #1 ($array) must be of type array, string given
 
 --heredoc--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, string given
+array_diff_key(): Argument #1 ($array) must be of type array, string given
 
 --instance of classWithToString--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, classWithToString given
+array_diff_key(): Argument #1 ($array) must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, classWithoutToString given
+array_diff_key(): Argument #1 ($array) must be of type array, classWithoutToString given
 
 --undefined var--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, null given
+array_diff_key(): Argument #1 ($array) must be of type array, null given
 
 --unset var--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, null given
+array_diff_key(): Argument #1 ($array) must be of type array, null given
 
 --resource--
-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
+array_diff_key(): Argument #1 ($array) must be of type array, resource given
+array_diff_key(): Argument #1 ($array) must be of type array, resource given
index 3a404c348c06a248cb3453292961b9169833d7a5..a6e7201cb7a49b19a85b1f5aa4b5bf6959adcd8e 100644 (file)
@@ -104,105 +104,105 @@ fclose($fp);
 *** Testing array_diff_key() : usage variation ***
 
 --int 0--
-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
+array_diff_key(): Argument #2 must be of type array, int given
+array_diff_key(): Argument #2 must be of type array, int given
 
 --int 1--
-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
+array_diff_key(): Argument #2 must be of type array, int given
+array_diff_key(): Argument #2 must be of type array, int given
 
 --int 12345--
-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
+array_diff_key(): Argument #2 must be of type array, int given
+array_diff_key(): Argument #2 must be of type array, int given
 
 --int -12345--
-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
+array_diff_key(): Argument #2 must be of type array, int given
+array_diff_key(): Argument #2 must be of type array, int given
 
 --float 10.5--
-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
+array_diff_key(): Argument #2 must be of type array, float given
+array_diff_key(): Argument #2 must be of type array, float given
 
 --float -10.5--
-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
+array_diff_key(): Argument #2 must be of type array, float given
+array_diff_key(): Argument #2 must be of type array, float given
 
 --float 12.3456789000e10--
-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
+array_diff_key(): Argument #2 must be of type array, float given
+array_diff_key(): Argument #2 must be of type array, float given
 
 --float -12.3456789000e10--
-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
+array_diff_key(): Argument #2 must be of type array, float given
+array_diff_key(): Argument #2 must be of type array, float given
 
 --float .5--
-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
+array_diff_key(): Argument #2 must be of type array, float given
+array_diff_key(): Argument #2 must be of type array, float given
 
 --uppercase NULL--
-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
+array_diff_key(): Argument #2 must be of type array, null given
+array_diff_key(): Argument #2 must be of type array, null given
 
 --lowercase null--
-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
+array_diff_key(): Argument #2 must be of type array, null given
+array_diff_key(): Argument #2 must be of type array, null given
 
 --lowercase true--
-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
+array_diff_key(): Argument #2 must be of type array, bool given
+array_diff_key(): Argument #2 must be of type array, bool given
 
 --lowercase false--
-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
+array_diff_key(): Argument #2 must be of type array, bool given
+array_diff_key(): Argument #2 must be of type array, bool given
 
 --uppercase TRUE--
-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
+array_diff_key(): Argument #2 must be of type array, bool given
+array_diff_key(): Argument #2 must be of type array, bool given
 
 --uppercase FALSE--
-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
+array_diff_key(): Argument #2 must be of type array, bool given
+array_diff_key(): Argument #2 must be of type array, bool given
 
 --empty string DQ--
-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
+array_diff_key(): Argument #2 must be of type array, string given
+array_diff_key(): Argument #2 must be of type array, string given
 
 --empty string SQ--
-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
+array_diff_key(): Argument #2 must be of type array, string given
+array_diff_key(): Argument #2 must be of type array, string given
 
 --string DQ--
-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
+array_diff_key(): Argument #2 must be of type array, string given
+array_diff_key(): Argument #2 must be of type array, string given
 
 --string SQ--
-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
+array_diff_key(): Argument #2 must be of type array, string given
+array_diff_key(): Argument #2 must be of type array, string given
 
 --mixed case string--
-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
+array_diff_key(): Argument #2 must be of type array, string given
+array_diff_key(): Argument #2 must be of type array, string given
 
 --heredoc--
-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
+array_diff_key(): Argument #2 must be of type array, string given
+array_diff_key(): Argument #2 must be of type array, string given
 
 --instance of classWithToString--
-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
+array_diff_key(): Argument #2 must be of type array, classWithToString given
+array_diff_key(): Argument #2 must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-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
+array_diff_key(): Argument #2 must be of type array, classWithoutToString given
+array_diff_key(): Argument #2 must be of type array, classWithoutToString given
 
 --undefined var--
-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
+array_diff_key(): Argument #2 must be of type array, null given
+array_diff_key(): Argument #2 must be of type array, null given
 
 --unset var--
-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
+array_diff_key(): Argument #2 must be of type array, null given
+array_diff_key(): Argument #2 must be of type array, null given
 
 --resource--
-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
+array_diff_key(): Argument #2 must be of type array, resource given
+array_diff_key(): Argument #2 must be of type array, resource given
diff --git a/ext/standard/tests/array/array_diff_single_array.phpt b/ext/standard/tests/array/array_diff_single_array.phpt
new file mode 100644 (file)
index 0000000..83355b0
--- /dev/null
@@ -0,0 +1,50 @@
+--TEST--
+array_diff() with single array argument
+--FILE--
+<?php
+
+$array = ["a" => 42];
+$cmp = function($a, $b) { return $a <=> $b; };
+var_dump(array_diff($array));
+var_dump(array_diff_key($array));
+var_dump(array_diff_ukey($array, $cmp));
+var_dump(array_diff_assoc($array));
+var_dump(array_diff_uassoc($array, $cmp));
+var_dump(array_udiff($array, $cmp));
+var_dump(array_udiff_assoc($array, $cmp));
+var_dump(array_udiff_uassoc($array, $cmp, $cmp));
+
+?>
+--EXPECT--
+array(1) {
+  ["a"]=>
+  int(42)
+}
+array(1) {
+  ["a"]=>
+  int(42)
+}
+array(1) {
+  ["a"]=>
+  int(42)
+}
+array(1) {
+  ["a"]=>
+  int(42)
+}
+array(1) {
+  ["a"]=>
+  int(42)
+}
+array(1) {
+  ["a"]=>
+  int(42)
+}
+array(1) {
+  ["a"]=>
+  int(42)
+}
+array(1) {
+  ["a"]=>
+  int(42)
+}
index 2eddc16d5b06aba734699ad2bdd7622501d23853..e22e0ad24da18cb55e773e1cfe720812f3a3924f 100644 (file)
@@ -49,4 +49,4 @@ array_diff_uassoc(): Argument #4 must be a valid callback, array must have exact
 array_diff_uassoc(): Argument #6 must be a valid callback, array must have exactly two members
 
 -- Testing array_diff_uassoc() function with less than expected no. of arguments --
-At least 3 arguments are required, 2 given
+array_diff_uassoc(): Argument #2 must be a valid callback, array must have exactly two members
index a5e31d44a4ed279b805917ddf986387e71d0eb7b..7c02e5d1427592b08da57d467194d10e2812a790 100644 (file)
@@ -110,79 +110,79 @@ fclose($fp);
 *** Testing array_diff_uassoc() : usage variation ***
 
 --int 0--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, int given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, int given
 
 --int 1--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, int given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, int given
 
 --int 12345--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, int given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, int given
 
 --int -12345--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, int given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, int given
 
 --float 10.5--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --float -10.5--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --float 12.3456789000e10--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --float -12.3456789000e10--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --float .5--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --uppercase NULL--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, null given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, null given
 
 --lowercase null--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, null given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, null given
 
 --lowercase true--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, bool given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, bool given
 
 --lowercase false--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, bool given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase TRUE--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, bool given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase FALSE--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, bool given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, bool given
 
 --empty string DQ--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --empty string SQ--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --string DQ--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --string SQ--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --mixed case string--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --heredoc--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --instance of classWithToString--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, classWithToString given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, classWithoutToString given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, classWithoutToString given
 
 --undefined var--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, null given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, null given
 
 --unset var--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, null given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, null given
 
 --resource--
-array_diff_uassoc(): Argument #1 ($array1) must be of type array, resource given
+array_diff_uassoc(): Argument #1 ($array) must be of type array, resource given
index da8dd6650d252318ab6b04967bbcb1a112b29d79..36fd109bb6c8b3a8a2b8c567097da277f37f1dfe 100644 (file)
@@ -110,79 +110,79 @@ fclose($fp);
 *** Testing array_diff_uassoc() : usage variation ***
 
 --int 0--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, int given
+array_diff_uassoc(): Argument #2 must be of type array, int given
 
 --int 1--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, int given
+array_diff_uassoc(): Argument #2 must be of type array, int given
 
 --int 12345--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, int given
+array_diff_uassoc(): Argument #2 must be of type array, int given
 
 --int -12345--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, int given
+array_diff_uassoc(): Argument #2 must be of type array, int given
 
 --float 10.5--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_diff_uassoc(): Argument #2 must be of type array, float given
 
 --float -10.5--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_diff_uassoc(): Argument #2 must be of type array, float given
 
 --float 12.3456789000e10--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_diff_uassoc(): Argument #2 must be of type array, float given
 
 --float -12.3456789000e10--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_diff_uassoc(): Argument #2 must be of type array, float given
 
 --float .5--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_diff_uassoc(): Argument #2 must be of type array, float given
 
 --uppercase NULL--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, null given
+array_diff_uassoc(): Argument #2 must be of type array, null given
 
 --lowercase null--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, null given
+array_diff_uassoc(): Argument #2 must be of type array, null given
 
 --lowercase true--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, bool given
+array_diff_uassoc(): Argument #2 must be of type array, bool given
 
 --lowercase false--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, bool given
+array_diff_uassoc(): Argument #2 must be of type array, bool given
 
 --uppercase TRUE--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, bool given
+array_diff_uassoc(): Argument #2 must be of type array, bool given
 
 --uppercase FALSE--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, bool given
+array_diff_uassoc(): Argument #2 must be of type array, bool given
 
 --empty string DQ--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_diff_uassoc(): Argument #2 must be of type array, string given
 
 --empty string SQ--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_diff_uassoc(): Argument #2 must be of type array, string given
 
 --string DQ--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_diff_uassoc(): Argument #2 must be of type array, string given
 
 --string SQ--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_diff_uassoc(): Argument #2 must be of type array, string given
 
 --mixed case string--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_diff_uassoc(): Argument #2 must be of type array, string given
 
 --heredoc--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_diff_uassoc(): Argument #2 must be of type array, string given
 
 --instance of classWithToString--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, classWithToString given
+array_diff_uassoc(): Argument #2 must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, classWithoutToString given
+array_diff_uassoc(): Argument #2 must be of type array, classWithoutToString given
 
 --undefined var--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, null given
+array_diff_uassoc(): Argument #2 must be of type array, null given
 
 --unset var--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, null given
+array_diff_uassoc(): Argument #2 must be of type array, null given
 
 --resource--
-array_diff_uassoc(): Argument #2 ($array2) must be of type array, resource given
+array_diff_uassoc(): Argument #2 must be of type array, resource given
index ab82d3f8770332ddd5ccf8109ba3e202c913eae7..9e15307f2333102fcc9c60769ee7ace267fd5711 100644 (file)
@@ -111,105 +111,105 @@ fclose($fp);
 *** Testing array_diff_ukey() : usage variation ***
 
 --int 0--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, int given
+array_diff_ukey(): Argument #1 ($array) must be of type array, int given
 
 --int 1--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, int given
+array_diff_ukey(): Argument #1 ($array) must be of type array, int given
 
 --int 12345--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, int given
+array_diff_ukey(): Argument #1 ($array) must be of type array, int given
 
 --int -12345--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, int given
+array_diff_ukey(): Argument #1 ($array) must be of type array, int given
 
 --float 10.5--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, float given
+array_diff_ukey(): Argument #1 ($array) must be of type array, float given
 
 --float -10.5--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, float given
+array_diff_ukey(): Argument #1 ($array) must be of type array, float given
 
 --float 12.3456789000e10--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, float given
+array_diff_ukey(): Argument #1 ($array) must be of type array, float given
 
 --float -12.3456789000e10--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, float given
+array_diff_ukey(): Argument #1 ($array) must be of type array, float given
 
 --float .5--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, float given
+array_diff_ukey(): Argument #1 ($array) must be of type array, float given
 
 --uppercase NULL--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, null given
+array_diff_ukey(): Argument #1 ($array) must be of type array, null given
 
 --lowercase null--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, null given
+array_diff_ukey(): Argument #1 ($array) must be of type array, null given
 
 --lowercase true--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, bool given
+array_diff_ukey(): Argument #1 ($array) must be of type array, bool given
 
 --lowercase false--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, bool given
+array_diff_ukey(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase TRUE--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, bool given
+array_diff_ukey(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase FALSE--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, bool given
+array_diff_ukey(): Argument #1 ($array) must be of type array, bool given
 
 --empty string DQ--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array) must be of type array, string given
 
 --empty string SQ--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array) must be of type array, string given
 
 --string DQ--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array) must be of type array, string given
 
 --string SQ--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array) must be of type array, string given
 
 --mixed case string--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array) must be of type array, string given
 
 --heredoc--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, string given
+array_diff_ukey(): Argument #1 ($array) must be of type array, string given
 
 --instance of classWithToString--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, classWithToString given
+array_diff_ukey(): Argument #1 ($array) must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, classWithoutToString given
+array_diff_ukey(): Argument #1 ($array) must be of type array, classWithoutToString given
 
 --undefined var--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, null given
+array_diff_ukey(): Argument #1 ($array) must be of type array, null given
 
 --unset var--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, null given
+array_diff_ukey(): Argument #1 ($array) must be of type array, null given
 
 --resource--
-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
+array_diff_ukey(): Argument #1 ($array) must be of type array, resource given
+array_diff_ukey(): Argument #1 ($array) must be of type array, resource given
index d99aaa3d9be1ecc39e1debec1525d67daa2e2411..dd79e53b5e2203b92e49c5ea4c7bfece6e2c71d9 100644 (file)
@@ -115,105 +115,105 @@ fclose($fp);
 *** Testing array_diff_ukey() : usage variation ***
 
 --int 0--
-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
+array_diff_ukey(): Argument #2 must be of type array, int given
+array_diff_ukey(): Argument #2 must be of type array, int given
 
 --int 1--
-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
+array_diff_ukey(): Argument #2 must be of type array, int given
+array_diff_ukey(): Argument #2 must be of type array, int given
 
 --int 12345--
-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
+array_diff_ukey(): Argument #2 must be of type array, int given
+array_diff_ukey(): Argument #2 must be of type array, int given
 
 --int -12345--
-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
+array_diff_ukey(): Argument #2 must be of type array, int given
+array_diff_ukey(): Argument #2 must be of type array, int given
 
 --float 10.5--
-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
+array_diff_ukey(): Argument #2 must be of type array, float given
+array_diff_ukey(): Argument #2 must be of type array, float given
 
 --float -10.5--
-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
+array_diff_ukey(): Argument #2 must be of type array, float given
+array_diff_ukey(): Argument #2 must be of type array, float given
 
 --float 12.3456789000e10--
-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
+array_diff_ukey(): Argument #2 must be of type array, float given
+array_diff_ukey(): Argument #2 must be of type array, float given
 
 --float -12.3456789000e10--
-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
+array_diff_ukey(): Argument #2 must be of type array, float given
+array_diff_ukey(): Argument #2 must be of type array, float given
 
 --float .5--
-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
+array_diff_ukey(): Argument #2 must be of type array, float given
+array_diff_ukey(): Argument #2 must be of type array, float given
 
 --uppercase NULL--
-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
+array_diff_ukey(): Argument #2 must be of type array, null given
+array_diff_ukey(): Argument #2 must be of type array, null given
 
 --lowercase null--
-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
+array_diff_ukey(): Argument #2 must be of type array, null given
+array_diff_ukey(): Argument #2 must be of type array, null given
 
 --lowercase true--
-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
+array_diff_ukey(): Argument #2 must be of type array, bool given
+array_diff_ukey(): Argument #2 must be of type array, bool given
 
 --lowercase false--
-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
+array_diff_ukey(): Argument #2 must be of type array, bool given
+array_diff_ukey(): Argument #2 must be of type array, bool given
 
 --uppercase TRUE--
-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
+array_diff_ukey(): Argument #2 must be of type array, bool given
+array_diff_ukey(): Argument #2 must be of type array, bool given
 
 --uppercase FALSE--
-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
+array_diff_ukey(): Argument #2 must be of type array, bool given
+array_diff_ukey(): Argument #2 must be of type array, bool given
 
 --empty string DQ--
-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
+array_diff_ukey(): Argument #2 must be of type array, string given
+array_diff_ukey(): Argument #2 must be of type array, string given
 
 --empty string SQ--
-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
+array_diff_ukey(): Argument #2 must be of type array, string given
+array_diff_ukey(): Argument #2 must be of type array, string given
 
 --string DQ--
-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
+array_diff_ukey(): Argument #2 must be of type array, string given
+array_diff_ukey(): Argument #2 must be of type array, string given
 
 --string SQ--
-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
+array_diff_ukey(): Argument #2 must be of type array, string given
+array_diff_ukey(): Argument #2 must be of type array, string given
 
 --mixed case string--
-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
+array_diff_ukey(): Argument #2 must be of type array, string given
+array_diff_ukey(): Argument #2 must be of type array, string given
 
 --heredoc--
-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
+array_diff_ukey(): Argument #2 must be of type array, string given
+array_diff_ukey(): Argument #2 must be of type array, string given
 
 --instance of classWithToString--
-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
+array_diff_ukey(): Argument #2 must be of type array, classWithToString given
+array_diff_ukey(): Argument #2 must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-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
+array_diff_ukey(): Argument #2 must be of type array, classWithoutToString given
+array_diff_ukey(): Argument #2 must be of type array, classWithoutToString given
 
 --undefined var--
-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
+array_diff_ukey(): Argument #2 must be of type array, null given
+array_diff_ukey(): Argument #2 must be of type array, null given
 
 --unset var--
-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
+array_diff_ukey(): Argument #2 must be of type array, null given
+array_diff_ukey(): Argument #2 must be of type array, null given
 
 --resource--
-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
+array_diff_ukey(): Argument #2 must be of type array, resource given
+array_diff_ukey(): Argument #2 must be of type array, resource given
index c7909ab19674e41adb3ce77568f90faedd4a41d4..075cf66f7bd418bb29e4b03cc0abdaa297532ae3 100644 (file)
@@ -100,55 +100,55 @@ echo "Done";
 --EXPECT--
 *** Testing array_diff() : usage variations ***
 
--- Iteration 1 --array_diff(): Argument #1 ($array1) must be of type array, int given
+-- Iteration 1 --array_diff(): Argument #1 ($array) must be of type array, int given
 
--- Iteration 2 --array_diff(): Argument #1 ($array1) must be of type array, int given
+-- Iteration 2 --array_diff(): Argument #1 ($array) must be of type array, int given
 
--- Iteration 3 --array_diff(): Argument #1 ($array1) must be of type array, int given
+-- Iteration 3 --array_diff(): Argument #1 ($array) must be of type array, int given
 
--- Iteration 4 --array_diff(): Argument #1 ($array1) must be of type array, int given
+-- Iteration 4 --array_diff(): Argument #1 ($array) must be of type array, int given
 
--- Iteration 5 --array_diff(): Argument #1 ($array1) must be of type array, float given
+-- Iteration 5 --array_diff(): Argument #1 ($array) must be of type array, float given
 
--- Iteration 6 --array_diff(): Argument #1 ($array1) must be of type array, float given
+-- Iteration 6 --array_diff(): Argument #1 ($array) must be of type array, float given
 
--- Iteration 7 --array_diff(): Argument #1 ($array1) must be of type array, float given
+-- Iteration 7 --array_diff(): Argument #1 ($array) must be of type array, float given
 
--- Iteration 8 --array_diff(): Argument #1 ($array1) must be of type array, float given
+-- Iteration 8 --array_diff(): Argument #1 ($array) must be of type array, float given
 
--- Iteration 9 --array_diff(): Argument #1 ($array1) must be of type array, float given
+-- Iteration 9 --array_diff(): Argument #1 ($array) must be of type array, float given
 
--- Iteration 10 --array_diff(): Argument #1 ($array1) must be of type array, null given
+-- Iteration 10 --array_diff(): Argument #1 ($array) must be of type array, null given
 
--- Iteration 11 --array_diff(): Argument #1 ($array1) must be of type array, null given
+-- Iteration 11 --array_diff(): Argument #1 ($array) must be of type array, null given
 
--- Iteration 12 --array_diff(): Argument #1 ($array1) must be of type array, bool given
+-- Iteration 12 --array_diff(): Argument #1 ($array) must be of type array, bool given
 
--- Iteration 13 --array_diff(): Argument #1 ($array1) must be of type array, bool given
+-- Iteration 13 --array_diff(): Argument #1 ($array) must be of type array, bool given
 
--- Iteration 14 --array_diff(): Argument #1 ($array1) must be of type array, bool given
+-- Iteration 14 --array_diff(): Argument #1 ($array) must be of type array, bool given
 
--- Iteration 15 --array_diff(): Argument #1 ($array1) must be of type array, bool given
+-- Iteration 15 --array_diff(): Argument #1 ($array) must be of type array, bool given
 
--- Iteration 16 --array_diff(): Argument #1 ($array1) must be of type array, string given
+-- Iteration 16 --array_diff(): Argument #1 ($array) must be of type array, string given
 
--- Iteration 17 --array_diff(): Argument #1 ($array1) must be of type array, string given
+-- Iteration 17 --array_diff(): Argument #1 ($array) must be of type array, string given
 
--- Iteration 18 --array_diff(): Argument #1 ($array1) must be of type array, string given
+-- Iteration 18 --array_diff(): Argument #1 ($array) must be of type array, string given
 
--- Iteration 19 --array_diff(): Argument #1 ($array1) must be of type array, string given
+-- Iteration 19 --array_diff(): Argument #1 ($array) must be of type array, string given
 
--- Iteration 20 --array_diff(): Argument #1 ($array1) must be of type array, string given
+-- Iteration 20 --array_diff(): Argument #1 ($array) must be of type array, string given
 
--- Iteration 21 --array_diff(): Argument #1 ($array1) must be of type array, string given
+-- Iteration 21 --array_diff(): Argument #1 ($array) must be of type array, string given
 
--- Iteration 22 --array_diff(): Argument #1 ($array1) must be of type array, string given
+-- Iteration 22 --array_diff(): Argument #1 ($array) must be of type array, string given
 
--- Iteration 23 --array_diff(): Argument #1 ($array1) must be of type array, classA given
+-- Iteration 23 --array_diff(): Argument #1 ($array) must be of type array, classA given
 
--- Iteration 24 --array_diff(): Argument #1 ($array1) must be of type array, null given
+-- Iteration 24 --array_diff(): Argument #1 ($array) must be of type array, null given
 
--- Iteration 25 --array_diff(): Argument #1 ($array1) must be of type array, null given
+-- Iteration 25 --array_diff(): Argument #1 ($array) must be of type array, null given
 
--- Iteration 26 --array_diff(): Argument #1 ($array1) must be of type array, resource given
+-- Iteration 26 --array_diff(): Argument #1 ($array) must be of type array, resource given
 Done
index 470c6b38c4da0d61bf527038b47a4c53bba15b74..68e933e29924b80a627ad8724a1a9a0dc05b417f 100644 (file)
@@ -99,55 +99,55 @@ echo "Done";
 --EXPECT--
 *** Testing array_diff() : usage variations ***
 
--- Iteration 1 --array_diff(): Argument #2 ($array2) must be of type array, int given
+-- Iteration 1 --array_diff(): Argument #2 must be of type array, int given
 
--- Iteration 2 --array_diff(): Argument #2 ($array2) must be of type array, int given
+-- Iteration 2 --array_diff(): Argument #2 must be of type array, int given
 
--- Iteration 3 --array_diff(): Argument #2 ($array2) must be of type array, int given
+-- Iteration 3 --array_diff(): Argument #2 must be of type array, int given
 
--- Iteration 4 --array_diff(): Argument #2 ($array2) must be of type array, int given
+-- Iteration 4 --array_diff(): Argument #2 must be of type array, int given
 
--- Iteration 5 --array_diff(): Argument #2 ($array2) must be of type array, float given
+-- Iteration 5 --array_diff(): Argument #2 must be of type array, float given
 
--- Iteration 6 --array_diff(): Argument #2 ($array2) must be of type array, float given
+-- Iteration 6 --array_diff(): Argument #2 must be of type array, float given
 
--- Iteration 7 --array_diff(): Argument #2 ($array2) must be of type array, float given
+-- Iteration 7 --array_diff(): Argument #2 must be of type array, float given
 
--- Iteration 8 --array_diff(): Argument #2 ($array2) must be of type array, float given
+-- Iteration 8 --array_diff(): Argument #2 must be of type array, float given
 
--- Iteration 9 --array_diff(): Argument #2 ($array2) must be of type array, float given
+-- Iteration 9 --array_diff(): Argument #2 must be of type array, float given
 
--- Iteration 10 --array_diff(): Argument #2 ($array2) must be of type array, null given
+-- Iteration 10 --array_diff(): Argument #2 must be of type array, null given
 
--- Iteration 11 --array_diff(): Argument #2 ($array2) must be of type array, null given
+-- Iteration 11 --array_diff(): Argument #2 must be of type array, null given
 
--- Iteration 12 --array_diff(): Argument #2 ($array2) must be of type array, bool given
+-- Iteration 12 --array_diff(): Argument #2 must be of type array, bool given
 
--- Iteration 13 --array_diff(): Argument #2 ($array2) must be of type array, bool given
+-- Iteration 13 --array_diff(): Argument #2 must be of type array, bool given
 
--- Iteration 14 --array_diff(): Argument #2 ($array2) must be of type array, bool given
+-- Iteration 14 --array_diff(): Argument #2 must be of type array, bool given
 
--- Iteration 15 --array_diff(): Argument #2 ($array2) must be of type array, bool given
+-- Iteration 15 --array_diff(): Argument #2 must be of type array, bool given
 
--- Iteration 16 --array_diff(): Argument #2 ($array2) must be of type array, string given
+-- Iteration 16 --array_diff(): Argument #2 must be of type array, string given
 
--- Iteration 17 --array_diff(): Argument #2 ($array2) must be of type array, string given
+-- Iteration 17 --array_diff(): Argument #2 must be of type array, string given
 
--- Iteration 18 --array_diff(): Argument #2 ($array2) must be of type array, string given
+-- Iteration 18 --array_diff(): Argument #2 must be of type array, string given
 
--- Iteration 19 --array_diff(): Argument #2 ($array2) must be of type array, string given
+-- Iteration 19 --array_diff(): Argument #2 must be of type array, string given
 
--- Iteration 20 --array_diff(): Argument #2 ($array2) must be of type array, string given
+-- Iteration 20 --array_diff(): Argument #2 must be of type array, string given
 
--- Iteration 21 --array_diff(): Argument #2 ($array2) must be of type array, string given
+-- Iteration 21 --array_diff(): Argument #2 must be of type array, string given
 
--- Iteration 22 --array_diff(): Argument #2 ($array2) must be of type array, string given
+-- Iteration 22 --array_diff(): Argument #2 must be of type array, string given
 
--- Iteration 23 --array_diff(): Argument #2 ($array2) must be of type array, classA given
+-- Iteration 23 --array_diff(): Argument #2 must be of type array, classA given
 
--- Iteration 24 --array_diff(): Argument #2 ($array2) must be of type array, null given
+-- Iteration 24 --array_diff(): Argument #2 must be of type array, null given
 
--- Iteration 25 --array_diff(): Argument #2 ($array2) must be of type array, null given
+-- Iteration 25 --array_diff(): Argument #2 must be of type array, null given
 
--- Iteration 26 --array_diff(): Argument #2 ($array2) must be of type array, resource given
+-- Iteration 26 --array_diff(): Argument #2 must be of type array, resource given
 Done
diff --git a/ext/standard/tests/array/array_intersect_assoc_error.phpt b/ext/standard/tests/array/array_intersect_assoc_error.phpt
deleted file mode 100644 (file)
index db59d4e..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
---TEST--
-Test array_intersect_assoc() function : error conditions(Bug#43197)
---FILE--
-<?php
-echo "*** Testing array_intersect_assoc() : error conditions ***\n";
-
-// Zero arguments
-echo "\n-- Testing array_intersect_assoc() function with Zero arguments --\n";
-try {
-    var_dump( array_intersect_assoc() );
-} catch (ArgumentCountError $e) {
-    echo $e->getMessage(), "\n";
-}
-
-// Testing array_intersect_assoc with one less than the expected number of arguments
-echo "\n-- Testing array_intersect_assoc() function with less than expected no. of arguments --\n";
-$arr1 = array(1, 2);
-try {
-    var_dump( array_intersect_assoc($arr1) );
-} catch (ArgumentCountError $e) {
-    echo $e->getMessage(), "\n";
-}
-
-echo "Done";
-?>
---EXPECT--
-*** Testing array_intersect_assoc() : error conditions ***
-
--- Testing array_intersect_assoc() function with Zero arguments --
-At least 2 arguments are required, 0 given
-
--- Testing array_intersect_assoc() function with less than expected no. of arguments --
-At least 2 arguments are required, 1 given
-Done
index 2bae7fb4a94c52fc3fbcac45cf9150c7ca128b9a..72d862958b5cb7f7c902a6f16af489421aa5eb91 100644 (file)
@@ -113,75 +113,75 @@ echo "Done";
 --EXPECT--
 *** Testing array_intersect_assoc() : Passing non-array values to $array1 argument ***
 
--- 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 1 --array_intersect_assoc(): Argument #1 ($array) must be of type array, int given
+array_intersect_assoc(): Argument #1 ($array) 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 2 --array_intersect_assoc(): Argument #1 ($array) must be of type array, int given
+array_intersect_assoc(): Argument #1 ($array) 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 3 --array_intersect_assoc(): Argument #1 ($array) must be of type array, int given
+array_intersect_assoc(): Argument #1 ($array) 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 4 --array_intersect_assoc(): Argument #1 ($array) must be of type array, int given
+array_intersect_assoc(): Argument #1 ($array) must be of type array, int 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 5 --array_intersect_assoc(): Argument #1 ($array) must be of type array, float given
+array_intersect_assoc(): Argument #1 ($array) 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 6 --array_intersect_assoc(): Argument #1 ($array) must be of type array, float given
+array_intersect_assoc(): Argument #1 ($array) 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 7 --array_intersect_assoc(): Argument #1 ($array) must be of type array, float given
+array_intersect_assoc(): Argument #1 ($array) 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 8 --array_intersect_assoc(): Argument #1 ($array) must be of type array, float given
+array_intersect_assoc(): Argument #1 ($array) 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 9 --array_intersect_assoc(): Argument #1 ($array) must be of type array, float given
+array_intersect_assoc(): Argument #1 ($array) must be of type array, float 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 10 --array_intersect_assoc(): Argument #1 ($array) must be of type array, null given
+array_intersect_assoc(): Argument #1 ($array) 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 11 --array_intersect_assoc(): Argument #1 ($array) must be of type array, null given
+array_intersect_assoc(): Argument #1 ($array) must be of type array, null 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 12 --array_intersect_assoc(): Argument #1 ($array) must be of type array, bool given
+array_intersect_assoc(): Argument #1 ($array) 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 13 --array_intersect_assoc(): Argument #1 ($array) must be of type array, bool given
+array_intersect_assoc(): Argument #1 ($array) 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 14 --array_intersect_assoc(): Argument #1 ($array) must be of type array, bool given
+array_intersect_assoc(): Argument #1 ($array) 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 15 --array_intersect_assoc(): Argument #1 ($array) must be of type array, bool given
+array_intersect_assoc(): Argument #1 ($array) must be of type array, bool 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 16 --array_intersect_assoc(): Argument #1 ($array) must be of type array, string given
+array_intersect_assoc(): Argument #1 ($array) 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 17 --array_intersect_assoc(): Argument #1 ($array) must be of type array, string given
+array_intersect_assoc(): Argument #1 ($array) 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 18 --array_intersect_assoc(): Argument #1 ($array) must be of type array, string given
+array_intersect_assoc(): Argument #1 ($array) 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 19 --array_intersect_assoc(): Argument #1 ($array) must be of type array, string given
+array_intersect_assoc(): Argument #1 ($array) 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 20 --array_intersect_assoc(): Argument #1 ($array) must be of type array, string given
+array_intersect_assoc(): Argument #1 ($array) must be of type array, string 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 21 --array_intersect_assoc(): Argument #1 ($array) must be of type array, classA given
+array_intersect_assoc(): Argument #1 ($array) must be of type array, classA 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 22 --array_intersect_assoc(): Argument #1 ($array) must be of type array, null given
+array_intersect_assoc(): Argument #1 ($array) 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 23 --array_intersect_assoc(): Argument #1 ($array) must be of type array, null given
+array_intersect_assoc(): Argument #1 ($array) must be of type array, null 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
+-- Iteration 24 --array_intersect_assoc(): Argument #1 ($array) must be of type array, resource given
+array_intersect_assoc(): Argument #1 ($array) must be of type array, resource given
 Done
index 21ff13cc5402931d402ce84e5d8dac234b2f6717..78ed38f153b466f507353215a54d6943d4b3135f 100644 (file)
@@ -114,75 +114,75 @@ echo "Done";
 --EXPECT--
 *** Testing array_intersect_assoc() : Passing non-array values to $array2 argument ***
 
--- 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 1 --array_intersect_assoc(): Argument #2 must be of type array, int given
+array_intersect_assoc(): Argument #2 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 2 --array_intersect_assoc(): Argument #2 must be of type array, int given
+array_intersect_assoc(): Argument #2 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 3 --array_intersect_assoc(): Argument #2 must be of type array, int given
+array_intersect_assoc(): Argument #2 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 4 --array_intersect_assoc(): Argument #2 must be of type array, int given
+array_intersect_assoc(): Argument #2 must be of type array, int 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 5 --array_intersect_assoc(): Argument #2 must be of type array, float given
+array_intersect_assoc(): Argument #2 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 6 --array_intersect_assoc(): Argument #2 must be of type array, float given
+array_intersect_assoc(): Argument #2 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 7 --array_intersect_assoc(): Argument #2 must be of type array, float given
+array_intersect_assoc(): Argument #2 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 8 --array_intersect_assoc(): Argument #2 must be of type array, float given
+array_intersect_assoc(): Argument #2 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 9 --array_intersect_assoc(): Argument #2 must be of type array, float given
+array_intersect_assoc(): Argument #2 must be of type array, float 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 10 --array_intersect_assoc(): Argument #2 must be of type array, null given
+array_intersect_assoc(): Argument #2 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 11 --array_intersect_assoc(): Argument #2 must be of type array, null given
+array_intersect_assoc(): Argument #2 must be of type array, null 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 12 --array_intersect_assoc(): Argument #2 must be of type array, bool given
+array_intersect_assoc(): Argument #2 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 13 --array_intersect_assoc(): Argument #2 must be of type array, bool given
+array_intersect_assoc(): Argument #2 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 14 --array_intersect_assoc(): Argument #2 must be of type array, bool given
+array_intersect_assoc(): Argument #2 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 15 --array_intersect_assoc(): Argument #2 must be of type array, bool given
+array_intersect_assoc(): Argument #2 must be of type array, bool 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 16 --array_intersect_assoc(): Argument #2 must be of type array, string given
+array_intersect_assoc(): Argument #2 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 17 --array_intersect_assoc(): Argument #2 must be of type array, string given
+array_intersect_assoc(): Argument #2 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 18 --array_intersect_assoc(): Argument #2 must be of type array, string given
+array_intersect_assoc(): Argument #2 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 19 --array_intersect_assoc(): Argument #2 must be of type array, string given
+array_intersect_assoc(): Argument #2 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 20 --array_intersect_assoc(): Argument #2 must be of type array, string given
+array_intersect_assoc(): Argument #2 must be of type array, string 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 21 --array_intersect_assoc(): Argument #2 must be of type array, classA given
+array_intersect_assoc(): Argument #2 must be of type array, classA 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 22 --array_intersect_assoc(): Argument #2 must be of type array, null given
+array_intersect_assoc(): Argument #2 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 23 --array_intersect_assoc(): Argument #2 must be of type array, null given
+array_intersect_assoc(): Argument #2 must be of type array, null 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
+-- Iteration 24 --array_intersect_assoc(): Argument #2 must be of type array, resource given
+array_intersect_assoc(): Argument #2 must be of type array, resource given
 Done
diff --git a/ext/standard/tests/array/array_intersect_error.phpt b/ext/standard/tests/array/array_intersect_error.phpt
deleted file mode 100644 (file)
index 623fd2f..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
---TEST--
-Test array_intersect() function : error conditions
---FILE--
-<?php
-echo "*** Testing array_intersect() : error conditions ***\n";
-
-// Testing array_intersect() with zero arguments
-echo "\n-- Testing array_intersect() function with Zero arguments --\n";
-try {
-    var_dump( array_intersect() );
-} catch (ArgumentCountError $e) {
-    echo $e->getMessage(), "\n";
-}
-
-// Testing array_intersect() with one less than the expected number of arguments
-echo "\n-- Testing array_intersect() function with less than expected no. of arguments --\n";
-$arr1 = array(1, 2);
-try {
-    var_dump( array_intersect($arr1) );
-} catch (ArgumentCountError $e) {
-    echo $e->getMessage(), "\n";
-}
-
-echo "Done";
-?>
---EXPECT--
-*** Testing array_intersect() : error conditions ***
-
--- Testing array_intersect() function with Zero arguments --
-At least 2 arguments are required, 0 given
-
--- Testing array_intersect() function with less than expected no. of arguments --
-At least 2 arguments are required, 1 given
-Done
diff --git a/ext/standard/tests/array/array_intersect_key_error.phpt b/ext/standard/tests/array/array_intersect_key_error.phpt
deleted file mode 100644 (file)
index 81961f3..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
---TEST--
-Test array_intersect_key() function : error conditions
---FILE--
-<?php
-echo "*** Testing array_intersect_key() : error conditions ***\n";
-
-//Initialise function arguments
-$array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4);
-
-// Testing array_intersect_key with one less than the expected number of arguments
-echo "\n-- Testing array_intersect_key() function with less than expected no. of arguments --\n";
-try {
-    var_dump( array_intersect_key($array1) );
-} catch (ArgumentCountError $e) {
-    echo $e->getMessage(), "\n";
-}
-
-// Testing array_intersect_key with one less than the expected number of arguments
-echo "\n-- Testing array_intersect_key() function with no arguments --\n";
-try {
-    var_dump( array_intersect_key() );
-} catch (ArgumentCountError $e) {
-    echo $e->getMessage(), "\n";
-}
-?>
---EXPECT--
-*** Testing array_intersect_key() : error conditions ***
-
--- Testing array_intersect_key() function with less than expected no. of arguments --
-At least 2 arguments are required, 1 given
-
--- Testing array_intersect_key() function with no arguments --
-At least 2 arguments are required, 0 given
index cdf9938984e72a0669be5a45edb3144529da116e..9256234597d001fb268a2c849718503a591f66c9 100644 (file)
@@ -107,105 +107,105 @@ fclose($fp);
 *** Testing array_intersect_key() : usage variation ***
 
 --int 0--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, int given
+array_intersect_key(): Argument #1 ($array) must be of type array, int given
 
 --int 1--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, int given
+array_intersect_key(): Argument #1 ($array) must be of type array, int given
 
 --int 12345--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, int given
+array_intersect_key(): Argument #1 ($array) must be of type array, int given
 
 --int -12345--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, int given
+array_intersect_key(): Argument #1 ($array) must be of type array, int given
 
 --float 10.5--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, float given
+array_intersect_key(): Argument #1 ($array) must be of type array, float given
 
 --float -10.5--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, float given
+array_intersect_key(): Argument #1 ($array) must be of type array, float given
 
 --float 12.3456789000e10--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, float given
+array_intersect_key(): Argument #1 ($array) must be of type array, float given
 
 --float -12.3456789000e10--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, float given
+array_intersect_key(): Argument #1 ($array) must be of type array, float given
 
 --float .5--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, float given
+array_intersect_key(): Argument #1 ($array) must be of type array, float given
 
 --uppercase NULL--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, null given
+array_intersect_key(): Argument #1 ($array) must be of type array, null given
 
 --lowercase null--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, null given
+array_intersect_key(): Argument #1 ($array) must be of type array, null given
 
 --lowercase true--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, bool given
+array_intersect_key(): Argument #1 ($array) must be of type array, bool given
 
 --lowercase false--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, bool given
+array_intersect_key(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase TRUE--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, bool given
+array_intersect_key(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase FALSE--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, bool given
+array_intersect_key(): Argument #1 ($array) must be of type array, bool given
 
 --empty string DQ--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, string given
+array_intersect_key(): Argument #1 ($array) must be of type array, string given
 
 --empty string SQ--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, string given
+array_intersect_key(): Argument #1 ($array) must be of type array, string given
 
 --string DQ--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, string given
+array_intersect_key(): Argument #1 ($array) must be of type array, string given
 
 --string SQ--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, string given
+array_intersect_key(): Argument #1 ($array) must be of type array, string given
 
 --mixed case string--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, string given
+array_intersect_key(): Argument #1 ($array) must be of type array, string given
 
 --heredoc--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, string given
+array_intersect_key(): Argument #1 ($array) must be of type array, string given
 
 --instance of classWithToString--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, classWithToString given
+array_intersect_key(): Argument #1 ($array) must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, classWithoutToString given
+array_intersect_key(): Argument #1 ($array) must be of type array, classWithoutToString given
 
 --undefined var--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, null given
+array_intersect_key(): Argument #1 ($array) must be of type array, null given
 
 --unset var--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, null given
+array_intersect_key(): Argument #1 ($array) must be of type array, null given
 
 --resource var--
-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
+array_intersect_key(): Argument #1 ($array) must be of type array, resource given
+array_intersect_key(): Argument #1 ($array) must be of type array, resource given
index 65491a2682f11dd61bfdcddd862ce17137af5d1d..70401e846926992b8a679ca1a64d34253b747261 100644 (file)
@@ -108,105 +108,105 @@ fclose($fp);
 *** Testing array_intersect_key() : usage variation ***
 
 --int 0--
-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
+array_intersect_key(): Argument #2 must be of type array, int given
+array_intersect_key(): Argument #2 must be of type array, int given
 
 --int 1--
-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
+array_intersect_key(): Argument #2 must be of type array, int given
+array_intersect_key(): Argument #2 must be of type array, int given
 
 --int 12345--
-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
+array_intersect_key(): Argument #2 must be of type array, int given
+array_intersect_key(): Argument #2 must be of type array, int given
 
 --int -12345--
-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
+array_intersect_key(): Argument #2 must be of type array, int given
+array_intersect_key(): Argument #2 must be of type array, int given
 
 --float 10.5--
-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
+array_intersect_key(): Argument #2 must be of type array, float given
+array_intersect_key(): Argument #2 must be of type array, float given
 
 --float -10.5--
-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
+array_intersect_key(): Argument #2 must be of type array, float given
+array_intersect_key(): Argument #2 must be of type array, float given
 
 --float 12.3456789000e10--
-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
+array_intersect_key(): Argument #2 must be of type array, float given
+array_intersect_key(): Argument #2 must be of type array, float given
 
 --float -12.3456789000e10--
-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
+array_intersect_key(): Argument #2 must be of type array, float given
+array_intersect_key(): Argument #2 must be of type array, float given
 
 --float .5--
-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
+array_intersect_key(): Argument #2 must be of type array, float given
+array_intersect_key(): Argument #2 must be of type array, float given
 
 --uppercase NULL--
-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
+array_intersect_key(): Argument #2 must be of type array, null given
+array_intersect_key(): Argument #2 must be of type array, null given
 
 --lowercase null--
-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
+array_intersect_key(): Argument #2 must be of type array, null given
+array_intersect_key(): Argument #2 must be of type array, null given
 
 --lowercase true--
-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
+array_intersect_key(): Argument #2 must be of type array, bool given
+array_intersect_key(): Argument #2 must be of type array, bool given
 
 --lowercase false--
-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
+array_intersect_key(): Argument #2 must be of type array, bool given
+array_intersect_key(): Argument #2 must be of type array, bool given
 
 --uppercase TRUE--
-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
+array_intersect_key(): Argument #2 must be of type array, bool given
+array_intersect_key(): Argument #2 must be of type array, bool given
 
 --uppercase FALSE--
-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
+array_intersect_key(): Argument #2 must be of type array, bool given
+array_intersect_key(): Argument #2 must be of type array, bool given
 
 --empty string DQ--
-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
+array_intersect_key(): Argument #2 must be of type array, string given
+array_intersect_key(): Argument #2 must be of type array, string given
 
 --empty string SQ--
-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
+array_intersect_key(): Argument #2 must be of type array, string given
+array_intersect_key(): Argument #2 must be of type array, string given
 
 --string DQ--
-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
+array_intersect_key(): Argument #2 must be of type array, string given
+array_intersect_key(): Argument #2 must be of type array, string given
 
 --string SQ--
-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
+array_intersect_key(): Argument #2 must be of type array, string given
+array_intersect_key(): Argument #2 must be of type array, string given
 
 --mixed case string--
-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
+array_intersect_key(): Argument #2 must be of type array, string given
+array_intersect_key(): Argument #2 must be of type array, string given
 
 --heredoc--
-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
+array_intersect_key(): Argument #2 must be of type array, string given
+array_intersect_key(): Argument #2 must be of type array, string given
 
 --instance of classWithToString--
-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
+array_intersect_key(): Argument #2 must be of type array, classWithToString given
+array_intersect_key(): Argument #2 must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-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
+array_intersect_key(): Argument #2 must be of type array, classWithoutToString given
+array_intersect_key(): Argument #2 must be of type array, classWithoutToString given
 
 --undefined var--
-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
+array_intersect_key(): Argument #2 must be of type array, null given
+array_intersect_key(): Argument #2 must be of type array, null given
 
 --unset var--
-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
+array_intersect_key(): Argument #2 must be of type array, null given
+array_intersect_key(): Argument #2 must be of type array, null given
 
 --resource var--
-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
+array_intersect_key(): Argument #2 must be of type array, resource given
+array_intersect_key(): Argument #2 must be of type array, resource given
index c686e646894c2cc7f265956dc225ed23d76e5d79..268d169c886e307e971ee9fdc0b3bb81ed0c8dc6 100644 (file)
@@ -115,105 +115,105 @@ fclose($fp);
 *** Testing array_intersect_uassoc() : usage variation ***
 
 --int 0--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, int given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, int given
 
 --int 1--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, int given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, int given
 
 --int 12345--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, int given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, int given
 
 --int -12345--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, int given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, int given
 
 --float 10.5--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, float given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --float -10.5--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, float given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --float 12.3456789000e10--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, float given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --float -12.3456789000e10--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, float given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --float .5--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, float given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --uppercase NULL--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, null given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, null given
 
 --lowercase null--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, null given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, null given
 
 --lowercase true--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, bool given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, bool given
 
 --lowercase false--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, bool given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase TRUE--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, bool given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase FALSE--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, bool given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, bool given
 
 --empty string DQ--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --empty string SQ--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --string DQ--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --string SQ--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --mixed case string--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --heredoc--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, string given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --instance of classWithToString--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, classWithToString given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, classWithoutToString given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, classWithoutToString given
 
 --undefined var--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, null given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, null given
 
 --unset var--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, null given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, null given
 
 --resource--
-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
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, resource given
+array_intersect_uassoc(): Argument #1 ($array) must be of type array, resource given
index 741b3a9405155bc6f18db69a557e2c821ff4e528..9377a09518d2f5eb88c8492537e16dff79e97b9f 100644 (file)
@@ -115,105 +115,105 @@ fclose($fp);
 *** Testing array_intersect_uassoc() : usage variation ***
 
 --int 0--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, int given
+array_intersect_uassoc(): Argument #2 must be of type array, int given
 
 --int 1--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, int given
+array_intersect_uassoc(): Argument #2 must be of type array, int given
 
 --int 12345--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, int given
+array_intersect_uassoc(): Argument #2 must be of type array, int given
 
 --int -12345--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, int given
+array_intersect_uassoc(): Argument #2 must be of type array, int given
 
 --float 10.5--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, float given
+array_intersect_uassoc(): Argument #2 must be of type array, float given
 
 --float -10.5--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, float given
+array_intersect_uassoc(): Argument #2 must be of type array, float given
 
 --float 12.3456789000e10--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, float given
+array_intersect_uassoc(): Argument #2 must be of type array, float given
 
 --float -12.3456789000e10--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, float given
+array_intersect_uassoc(): Argument #2 must be of type array, float given
 
 --float .5--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, float given
+array_intersect_uassoc(): Argument #2 must be of type array, float given
 
 --uppercase NULL--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, null given
+array_intersect_uassoc(): Argument #2 must be of type array, null given
 
 --lowercase null--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, null given
+array_intersect_uassoc(): Argument #2 must be of type array, null given
 
 --lowercase true--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, bool given
+array_intersect_uassoc(): Argument #2 must be of type array, bool given
 
 --lowercase false--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, bool given
+array_intersect_uassoc(): Argument #2 must be of type array, bool given
 
 --uppercase TRUE--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, bool given
+array_intersect_uassoc(): Argument #2 must be of type array, bool given
 
 --uppercase FALSE--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, bool given
+array_intersect_uassoc(): Argument #2 must be of type array, bool given
 
 --empty string DQ--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, string given
+array_intersect_uassoc(): Argument #2 must be of type array, string given
 
 --empty string SQ--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, string given
+array_intersect_uassoc(): Argument #2 must be of type array, string given
 
 --string DQ--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, string given
+array_intersect_uassoc(): Argument #2 must be of type array, string given
 
 --string SQ--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, string given
+array_intersect_uassoc(): Argument #2 must be of type array, string given
 
 --mixed case string--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, string given
+array_intersect_uassoc(): Argument #2 must be of type array, string given
 
 --heredoc--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, string given
+array_intersect_uassoc(): Argument #2 must be of type array, string given
 
 --instance of classWithToString--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, classWithToString given
+array_intersect_uassoc(): Argument #2 must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, classWithoutToString given
+array_intersect_uassoc(): Argument #2 must be of type array, classWithoutToString given
 
 --undefined var--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, null given
+array_intersect_uassoc(): Argument #2 must be of type array, null given
 
 --unset var--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, null given
+array_intersect_uassoc(): Argument #2 must be of type array, null given
 
 --resource--
-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
+array_intersect_uassoc(): Argument #2 must be of type array, resource given
+array_intersect_uassoc(): Argument #2 must be of type array, resource given
index e73bbd32676d5d5aad6efdd89c7a4153dd3b4896..993994fc0792acf864fb5b41d41400b93f61bfa7 100644 (file)
@@ -113,105 +113,105 @@ fclose($fp);
 *** Testing array_intersect_ukey() : usage variation ***
 
 --int 0--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, int given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, int given
 
 --int 1--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, int given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, int given
 
 --int 12345--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, int given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, int given
 
 --int -12345--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, int given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, int given
 
 --float 10.5--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, float given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, float given
 
 --float -10.5--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, float given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, float given
 
 --float 12.3456789000e10--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, float given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, float given
 
 --float -12.3456789000e10--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, float given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, float given
 
 --float .5--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, float given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, float given
 
 --uppercase NULL--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, null given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, null given
 
 --lowercase null--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, null given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, null given
 
 --lowercase true--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, bool given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, bool given
 
 --lowercase false--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, bool given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase TRUE--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, bool given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase FALSE--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, bool given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, bool given
 
 --empty string DQ--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, string given
 
 --empty string SQ--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, string given
 
 --string DQ--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, string given
 
 --string SQ--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, string given
 
 --mixed case string--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, string given
 
 --heredoc--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, string given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, string given
 
 --instance of classWithToString--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, classWithToString given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, classWithoutToString given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, classWithoutToString given
 
 --undefined var--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, null given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, null given
 
 --unset var--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, null given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, null given
 
 --resource var--
-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
+array_intersect_ukey(): Argument #1 ($array) must be of type array, resource given
+array_intersect_ukey(): Argument #1 ($array) must be of type array, resource given
index 7dd5d4c459c16175a6a118136d097d9b5ad5c772..bdc0686774cdda90bfff3ad05e66b091ae830260 100644 (file)
@@ -113,105 +113,105 @@ fclose($fp);
 *** Testing array_intersect_ukey() : usage variation ***
 
 --int 0--
-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
+array_intersect_ukey(): Argument #2 must be of type array, int given
+array_intersect_ukey(): Argument #2 must be of type array, int given
 
 --int 1--
-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
+array_intersect_ukey(): Argument #2 must be of type array, int given
+array_intersect_ukey(): Argument #2 must be of type array, int given
 
 --int 12345--
-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
+array_intersect_ukey(): Argument #2 must be of type array, int given
+array_intersect_ukey(): Argument #2 must be of type array, int given
 
 --int -12345--
-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
+array_intersect_ukey(): Argument #2 must be of type array, int given
+array_intersect_ukey(): Argument #2 must be of type array, int given
 
 --float 10.5--
-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
+array_intersect_ukey(): Argument #2 must be of type array, float given
+array_intersect_ukey(): Argument #2 must be of type array, float given
 
 --float -10.5--
-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
+array_intersect_ukey(): Argument #2 must be of type array, float given
+array_intersect_ukey(): Argument #2 must be of type array, float given
 
 --float 12.3456789000e10--
-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
+array_intersect_ukey(): Argument #2 must be of type array, float given
+array_intersect_ukey(): Argument #2 must be of type array, float given
 
 --float -12.3456789000e10--
-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
+array_intersect_ukey(): Argument #2 must be of type array, float given
+array_intersect_ukey(): Argument #2 must be of type array, float given
 
 --float .5--
-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
+array_intersect_ukey(): Argument #2 must be of type array, float given
+array_intersect_ukey(): Argument #2 must be of type array, float given
 
 --uppercase NULL--
-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
+array_intersect_ukey(): Argument #2 must be of type array, null given
+array_intersect_ukey(): Argument #2 must be of type array, null given
 
 --lowercase null--
-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
+array_intersect_ukey(): Argument #2 must be of type array, null given
+array_intersect_ukey(): Argument #2 must be of type array, null given
 
 --lowercase true--
-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
+array_intersect_ukey(): Argument #2 must be of type array, bool given
+array_intersect_ukey(): Argument #2 must be of type array, bool given
 
 --lowercase false--
-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
+array_intersect_ukey(): Argument #2 must be of type array, bool given
+array_intersect_ukey(): Argument #2 must be of type array, bool given
 
 --uppercase TRUE--
-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
+array_intersect_ukey(): Argument #2 must be of type array, bool given
+array_intersect_ukey(): Argument #2 must be of type array, bool given
 
 --uppercase FALSE--
-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
+array_intersect_ukey(): Argument #2 must be of type array, bool given
+array_intersect_ukey(): Argument #2 must be of type array, bool given
 
 --empty string DQ--
-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
+array_intersect_ukey(): Argument #2 must be of type array, string given
+array_intersect_ukey(): Argument #2 must be of type array, string given
 
 --empty string SQ--
-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
+array_intersect_ukey(): Argument #2 must be of type array, string given
+array_intersect_ukey(): Argument #2 must be of type array, string given
 
 --string DQ--
-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
+array_intersect_ukey(): Argument #2 must be of type array, string given
+array_intersect_ukey(): Argument #2 must be of type array, string given
 
 --string SQ--
-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
+array_intersect_ukey(): Argument #2 must be of type array, string given
+array_intersect_ukey(): Argument #2 must be of type array, string given
 
 --mixed case string--
-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
+array_intersect_ukey(): Argument #2 must be of type array, string given
+array_intersect_ukey(): Argument #2 must be of type array, string given
 
 --heredoc--
-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
+array_intersect_ukey(): Argument #2 must be of type array, string given
+array_intersect_ukey(): Argument #2 must be of type array, string given
 
 --instance of classWithToString--
-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
+array_intersect_ukey(): Argument #2 must be of type array, classWithToString given
+array_intersect_ukey(): Argument #2 must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-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
+array_intersect_ukey(): Argument #2 must be of type array, classWithoutToString given
+array_intersect_ukey(): Argument #2 must be of type array, classWithoutToString given
 
 --undefined var--
-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
+array_intersect_ukey(): Argument #2 must be of type array, null given
+array_intersect_ukey(): Argument #2 must be of type array, null given
 
 --unset var--
-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
+array_intersect_ukey(): Argument #2 must be of type array, null given
+array_intersect_ukey(): Argument #2 must be of type array, null given
 
 --resource var--
-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
+array_intersect_ukey(): Argument #2 must be of type array, resource given
+array_intersect_ukey(): Argument #2 must be of type array, resource given
index f83a4d901eb0cf5efb9a29dc97f9f6aedc42d6c7..81b77bd4aa308c4c16a3ac3174b88d11e94a0443 100644 (file)
@@ -113,75 +113,75 @@ echo "Done";
 --EXPECT--
 *** Testing array_intersect() : Passing non-array values to $array1 argument ***
 
--- 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 1 --array_intersect(): Argument #1 ($array) must be of type array, int given
+array_intersect(): Argument #1 ($array) 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 2 --array_intersect(): Argument #1 ($array) must be of type array, int given
+array_intersect(): Argument #1 ($array) 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 3 --array_intersect(): Argument #1 ($array) must be of type array, int given
+array_intersect(): Argument #1 ($array) 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 4 --array_intersect(): Argument #1 ($array) must be of type array, int given
+array_intersect(): Argument #1 ($array) must be of type array, int 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 5 --array_intersect(): Argument #1 ($array) must be of type array, float given
+array_intersect(): Argument #1 ($array) 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 6 --array_intersect(): Argument #1 ($array) must be of type array, float given
+array_intersect(): Argument #1 ($array) 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 7 --array_intersect(): Argument #1 ($array) must be of type array, float given
+array_intersect(): Argument #1 ($array) 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 8 --array_intersect(): Argument #1 ($array) must be of type array, float given
+array_intersect(): Argument #1 ($array) 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 9 --array_intersect(): Argument #1 ($array) must be of type array, float given
+array_intersect(): Argument #1 ($array) must be of type array, float 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 10 --array_intersect(): Argument #1 ($array) must be of type array, null given
+array_intersect(): Argument #1 ($array) 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 11 --array_intersect(): Argument #1 ($array) must be of type array, null given
+array_intersect(): Argument #1 ($array) must be of type array, null 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 12 --array_intersect(): Argument #1 ($array) must be of type array, bool given
+array_intersect(): Argument #1 ($array) 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 13 --array_intersect(): Argument #1 ($array) must be of type array, bool given
+array_intersect(): Argument #1 ($array) 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 14 --array_intersect(): Argument #1 ($array) must be of type array, bool given
+array_intersect(): Argument #1 ($array) 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 15 --array_intersect(): Argument #1 ($array) must be of type array, bool given
+array_intersect(): Argument #1 ($array) must be of type array, bool 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 16 --array_intersect(): Argument #1 ($array) must be of type array, string given
+array_intersect(): Argument #1 ($array) 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 17 --array_intersect(): Argument #1 ($array) must be of type array, string given
+array_intersect(): Argument #1 ($array) 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 18 --array_intersect(): Argument #1 ($array) must be of type array, string given
+array_intersect(): Argument #1 ($array) 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 19 --array_intersect(): Argument #1 ($array) must be of type array, string given
+array_intersect(): Argument #1 ($array) 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 20 --array_intersect(): Argument #1 ($array) must be of type array, string given
+array_intersect(): Argument #1 ($array) must be of type array, string 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 21 --array_intersect(): Argument #1 ($array) must be of type array, classA given
+array_intersect(): Argument #1 ($array) must be of type array, classA 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 22 --array_intersect(): Argument #1 ($array) must be of type array, null given
+array_intersect(): Argument #1 ($array) 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 23 --array_intersect(): Argument #1 ($array) must be of type array, null given
+array_intersect(): Argument #1 ($array) must be of type array, null 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
+-- Iterator 24 --array_intersect(): Argument #1 ($array) must be of type array, resource given
+array_intersect(): Argument #1 ($array) must be of type array, resource given
 Done
index 302ea149d82203525b482dcd3e3dbe7e65d9195c..d98e1162960ee36c52b0c303cf239374bbac1868 100644 (file)
@@ -114,75 +114,75 @@ echo "Done";
 --EXPECT--
 *** Testing array_intersect() : Passing non-array values to $array2 argument ***
 
--- 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 1 --array_intersect(): Argument #2 must be of type array, int given
+array_intersect(): Argument #2 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 2 --array_intersect(): Argument #2 must be of type array, int given
+array_intersect(): Argument #2 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 3 --array_intersect(): Argument #2 must be of type array, int given
+array_intersect(): Argument #2 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 4 --array_intersect(): Argument #2 must be of type array, int given
+array_intersect(): Argument #2 must be of type array, int 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 5 --array_intersect(): Argument #2 must be of type array, float given
+array_intersect(): Argument #2 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 6 --array_intersect(): Argument #2 must be of type array, float given
+array_intersect(): Argument #2 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 7 --array_intersect(): Argument #2 must be of type array, float given
+array_intersect(): Argument #2 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 8 --array_intersect(): Argument #2 must be of type array, float given
+array_intersect(): Argument #2 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 9 --array_intersect(): Argument #2 must be of type array, float given
+array_intersect(): Argument #2 must be of type array, float 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 10 --array_intersect(): Argument #2 must be of type array, null given
+array_intersect(): Argument #2 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 11 --array_intersect(): Argument #2 must be of type array, null given
+array_intersect(): Argument #2 must be of type array, null 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 12 --array_intersect(): Argument #2 must be of type array, bool given
+array_intersect(): Argument #2 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 13 --array_intersect(): Argument #2 must be of type array, bool given
+array_intersect(): Argument #2 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 14 --array_intersect(): Argument #2 must be of type array, bool given
+array_intersect(): Argument #2 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 15 --array_intersect(): Argument #2 must be of type array, bool given
+array_intersect(): Argument #2 must be of type array, bool 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 16 --array_intersect(): Argument #2 must be of type array, string given
+array_intersect(): Argument #2 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 17 --array_intersect(): Argument #2 must be of type array, string given
+array_intersect(): Argument #2 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 18 --array_intersect(): Argument #2 must be of type array, string given
+array_intersect(): Argument #2 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 19 --array_intersect(): Argument #2 must be of type array, string given
+array_intersect(): Argument #2 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 20 --array_intersect(): Argument #2 must be of type array, string given
+array_intersect(): Argument #2 must be of type array, string 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 21 --array_intersect(): Argument #2 must be of type array, classA given
+array_intersect(): Argument #2 must be of type array, classA 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 22 --array_intersect(): Argument #2 must be of type array, null given
+array_intersect(): Argument #2 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 23 --array_intersect(): Argument #2 must be of type array, null given
+array_intersect(): Argument #2 must be of type array, null 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
+-- Iterator 24 --array_intersect(): Argument #2 must be of type array, resource given
+array_intersect(): Argument #2 must be of type array, resource given
 Done
index 9e515ce1bf2e24807875031ea72500f7ec99014a..21239f3ee0476d013796c24551487d9eb00c0d37 100644 (file)
@@ -98,76 +98,76 @@ foreach($inputs as $key =>$value) {
 *** Testing array_udiff_assoc() : usage variation ***
 
 --int 0--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, int given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, int given
 
 --int 1--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, int given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, int given
 
 --int 12345--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, int given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, int given
 
 --int -12345--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, int given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, int given
 
 --float 10.5--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, float given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, float given
 
 --float -10.5--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, float given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, float given
 
 --float 12.3456789000e10--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, float given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, float given
 
 --float -12.3456789000e10--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, float given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, float given
 
 --float .5--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, float given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, float given
 
 --uppercase NULL--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, null given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, null given
 
 --lowercase null--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, null given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, null given
 
 --lowercase true--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, bool given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, bool given
 
 --lowercase false--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, bool given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase TRUE--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, bool given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase FALSE--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, bool given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, bool given
 
 --empty string DQ--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, string given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, string given
 
 --empty string SQ--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, string given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, string given
 
 --string DQ--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, string given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, string given
 
 --string SQ--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, string given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, string given
 
 --mixed case string--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, string given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, string given
 
 --heredoc--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, string given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, string given
 
 --instance of classWithToString--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, classWithToString given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, classWithoutToString given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, classWithoutToString given
 
 --undefined var--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, null given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, null given
 
 --unset var--
-array_udiff_assoc(): Argument #1 ($array1) must be of type array, null given
+array_udiff_assoc(): Argument #1 ($array) must be of type array, null given
index 30f418d31eb7af8033eb0542ad84268bd5d41412..02bf34f0ecd4ac84537d367b46fa3f0fc0aa8ea3 100644 (file)
@@ -98,76 +98,76 @@ foreach($inputs as $key =>$value) {
 *** Testing array_udiff_assoc() : usage variation ***
 
 --int 0--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, int given
+array_udiff_assoc(): Argument #2 must be of type array, int given
 
 --int 1--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, int given
+array_udiff_assoc(): Argument #2 must be of type array, int given
 
 --int 12345--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, int given
+array_udiff_assoc(): Argument #2 must be of type array, int given
 
 --int -12345--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, int given
+array_udiff_assoc(): Argument #2 must be of type array, int given
 
 --float 10.5--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, float given
+array_udiff_assoc(): Argument #2 must be of type array, float given
 
 --float -10.5--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, float given
+array_udiff_assoc(): Argument #2 must be of type array, float given
 
 --float 12.3456789000e10--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, float given
+array_udiff_assoc(): Argument #2 must be of type array, float given
 
 --float -12.3456789000e10--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, float given
+array_udiff_assoc(): Argument #2 must be of type array, float given
 
 --float .5--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, float given
+array_udiff_assoc(): Argument #2 must be of type array, float given
 
 --uppercase NULL--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, null given
+array_udiff_assoc(): Argument #2 must be of type array, null given
 
 --lowercase null--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, null given
+array_udiff_assoc(): Argument #2 must be of type array, null given
 
 --lowercase true--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, bool given
+array_udiff_assoc(): Argument #2 must be of type array, bool given
 
 --lowercase false--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, bool given
+array_udiff_assoc(): Argument #2 must be of type array, bool given
 
 --uppercase TRUE--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, bool given
+array_udiff_assoc(): Argument #2 must be of type array, bool given
 
 --uppercase FALSE--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, bool given
+array_udiff_assoc(): Argument #2 must be of type array, bool given
 
 --empty string DQ--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, string given
+array_udiff_assoc(): Argument #2 must be of type array, string given
 
 --empty string SQ--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, string given
+array_udiff_assoc(): Argument #2 must be of type array, string given
 
 --string DQ--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, string given
+array_udiff_assoc(): Argument #2 must be of type array, string given
 
 --string SQ--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, string given
+array_udiff_assoc(): Argument #2 must be of type array, string given
 
 --mixed case string--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, string given
+array_udiff_assoc(): Argument #2 must be of type array, string given
 
 --heredoc--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, string given
+array_udiff_assoc(): Argument #2 must be of type array, string given
 
 --instance of classWithToString--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, classWithToString given
+array_udiff_assoc(): Argument #2 must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, classWithoutToString given
+array_udiff_assoc(): Argument #2 must be of type array, classWithoutToString given
 
 --undefined var--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, null given
+array_udiff_assoc(): Argument #2 must be of type array, null given
 
 --unset var--
-array_udiff_assoc(): Argument #2 ($array2) must be of type array, null given
+array_udiff_assoc(): Argument #2 must be of type array, null given
index 752c1c9a61e6d4281aa407072cb08b71ea5e9332..6ededf9b10cee4f1a16e7a1c31d7bbd8918d5fac 100644 (file)
@@ -99,76 +99,76 @@ foreach($inputs as $key =>$value) {
 *** Testing array_udiff_uassoc() : usage variation ***
 
 --int 0--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, int given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, int given
 
 --int 1--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, int given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, int given
 
 --int 12345--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, int given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, int given
 
 --int -12345--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, int given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, int given
 
 --float 10.5--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --float -10.5--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --float 12.3456789000e10--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --float -12.3456789000e10--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --float .5--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --uppercase NULL--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, null given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, null given
 
 --lowercase null--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, null given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, null given
 
 --lowercase true--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, bool given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, bool given
 
 --lowercase false--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, bool given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase TRUE--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, bool given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase FALSE--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, bool given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, bool given
 
 --empty string DQ--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --empty string SQ--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --string DQ--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --string SQ--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --mixed case string--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --heredoc--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --instance of classWithToString--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, classWithToString given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, classWithoutToString given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, classWithoutToString given
 
 --undefined var--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, null given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, null given
 
 --unset var--
-array_udiff_uassoc(): Argument #1 ($array1) must be of type array, null given
+array_udiff_uassoc(): Argument #1 ($array) must be of type array, null given
index 263657bd5c645a50654824a019f62f0eddf38d80..bc6068b5b0f1cf4e6f50dbb48e2a0f6f82dfb61e 100644 (file)
@@ -99,76 +99,76 @@ foreach($inputs as $key =>$value) {
 *** Testing array_udiff_uassoc() : usage variation ***
 
 --int 0--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, int given
+array_udiff_uassoc(): Argument #2 must be of type array, int given
 
 --int 1--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, int given
+array_udiff_uassoc(): Argument #2 must be of type array, int given
 
 --int 12345--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, int given
+array_udiff_uassoc(): Argument #2 must be of type array, int given
 
 --int -12345--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, int given
+array_udiff_uassoc(): Argument #2 must be of type array, int given
 
 --float 10.5--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_udiff_uassoc(): Argument #2 must be of type array, float given
 
 --float -10.5--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_udiff_uassoc(): Argument #2 must be of type array, float given
 
 --float 12.3456789000e10--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_udiff_uassoc(): Argument #2 must be of type array, float given
 
 --float -12.3456789000e10--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_udiff_uassoc(): Argument #2 must be of type array, float given
 
 --float .5--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_udiff_uassoc(): Argument #2 must be of type array, float given
 
 --uppercase NULL--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, null given
+array_udiff_uassoc(): Argument #2 must be of type array, null given
 
 --lowercase null--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, null given
+array_udiff_uassoc(): Argument #2 must be of type array, null given
 
 --lowercase true--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, bool given
+array_udiff_uassoc(): Argument #2 must be of type array, bool given
 
 --lowercase false--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, bool given
+array_udiff_uassoc(): Argument #2 must be of type array, bool given
 
 --uppercase TRUE--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, bool given
+array_udiff_uassoc(): Argument #2 must be of type array, bool given
 
 --uppercase FALSE--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, bool given
+array_udiff_uassoc(): Argument #2 must be of type array, bool given
 
 --empty string DQ--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_udiff_uassoc(): Argument #2 must be of type array, string given
 
 --empty string SQ--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_udiff_uassoc(): Argument #2 must be of type array, string given
 
 --string DQ--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_udiff_uassoc(): Argument #2 must be of type array, string given
 
 --string SQ--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_udiff_uassoc(): Argument #2 must be of type array, string given
 
 --mixed case string--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_udiff_uassoc(): Argument #2 must be of type array, string given
 
 --heredoc--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_udiff_uassoc(): Argument #2 must be of type array, string given
 
 --instance of classWithToString--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, classWithToString given
+array_udiff_uassoc(): Argument #2 must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, classWithoutToString given
+array_udiff_uassoc(): Argument #2 must be of type array, classWithoutToString given
 
 --undefined var--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, null given
+array_udiff_uassoc(): Argument #2 must be of type array, null given
 
 --unset var--
-array_udiff_uassoc(): Argument #2 ($array2) must be of type array, null given
+array_udiff_uassoc(): Argument #2 must be of type array, null given
index 1d929d4e50f1a1ad3b425a73851ed5a01692f128..c2cb3074b495c11780a2924f718d062313baa133 100644 (file)
@@ -98,76 +98,76 @@ foreach($inputs as $key =>$value) {
 *** Testing array_udiff() : usage variation ***
 
 --int 0--
-array_udiff(): Argument #1 ($array1) must be of type array, int given
+array_udiff(): Argument #1 ($array) must be of type array, int given
 
 --int 1--
-array_udiff(): Argument #1 ($array1) must be of type array, int given
+array_udiff(): Argument #1 ($array) must be of type array, int given
 
 --int 12345--
-array_udiff(): Argument #1 ($array1) must be of type array, int given
+array_udiff(): Argument #1 ($array) must be of type array, int given
 
 --int -12345--
-array_udiff(): Argument #1 ($array1) must be of type array, int given
+array_udiff(): Argument #1 ($array) must be of type array, int given
 
 --float 10.5--
-array_udiff(): Argument #1 ($array1) must be of type array, float given
+array_udiff(): Argument #1 ($array) must be of type array, float given
 
 --float -10.5--
-array_udiff(): Argument #1 ($array1) must be of type array, float given
+array_udiff(): Argument #1 ($array) must be of type array, float given
 
 --float 12.3456789000e10--
-array_udiff(): Argument #1 ($array1) must be of type array, float given
+array_udiff(): Argument #1 ($array) must be of type array, float given
 
 --float -12.3456789000e10--
-array_udiff(): Argument #1 ($array1) must be of type array, float given
+array_udiff(): Argument #1 ($array) must be of type array, float given
 
 --float .5--
-array_udiff(): Argument #1 ($array1) must be of type array, float given
+array_udiff(): Argument #1 ($array) must be of type array, float given
 
 --uppercase NULL--
-array_udiff(): Argument #1 ($array1) must be of type array, null given
+array_udiff(): Argument #1 ($array) must be of type array, null given
 
 --lowercase null--
-array_udiff(): Argument #1 ($array1) must be of type array, null given
+array_udiff(): Argument #1 ($array) must be of type array, null given
 
 --lowercase true--
-array_udiff(): Argument #1 ($array1) must be of type array, bool given
+array_udiff(): Argument #1 ($array) must be of type array, bool given
 
 --lowercase false--
-array_udiff(): Argument #1 ($array1) must be of type array, bool given
+array_udiff(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase TRUE--
-array_udiff(): Argument #1 ($array1) must be of type array, bool given
+array_udiff(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase FALSE--
-array_udiff(): Argument #1 ($array1) must be of type array, bool given
+array_udiff(): Argument #1 ($array) must be of type array, bool given
 
 --empty string DQ--
-array_udiff(): Argument #1 ($array1) must be of type array, string given
+array_udiff(): Argument #1 ($array) must be of type array, string given
 
 --empty string SQ--
-array_udiff(): Argument #1 ($array1) must be of type array, string given
+array_udiff(): Argument #1 ($array) must be of type array, string given
 
 --string DQ--
-array_udiff(): Argument #1 ($array1) must be of type array, string given
+array_udiff(): Argument #1 ($array) must be of type array, string given
 
 --string SQ--
-array_udiff(): Argument #1 ($array1) must be of type array, string given
+array_udiff(): Argument #1 ($array) must be of type array, string given
 
 --mixed case string--
-array_udiff(): Argument #1 ($array1) must be of type array, string given
+array_udiff(): Argument #1 ($array) must be of type array, string given
 
 --heredoc--
-array_udiff(): Argument #1 ($array1) must be of type array, string given
+array_udiff(): Argument #1 ($array) must be of type array, string given
 
 --instance of classWithToString--
-array_udiff(): Argument #1 ($array1) must be of type array, classWithToString given
+array_udiff(): Argument #1 ($array) must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-array_udiff(): Argument #1 ($array1) must be of type array, classWithoutToString given
+array_udiff(): Argument #1 ($array) must be of type array, classWithoutToString given
 
 --undefined var--
-array_udiff(): Argument #1 ($array1) must be of type array, null given
+array_udiff(): Argument #1 ($array) must be of type array, null given
 
 --unset var--
-array_udiff(): Argument #1 ($array1) must be of type array, null given
+array_udiff(): Argument #1 ($array) must be of type array, null given
index 447395488fd3fdb4587c998e9334513633c93373..72e814f75b0007dbacb9c59dc26a8ec841dfe8ce 100644 (file)
@@ -98,76 +98,76 @@ foreach($inputs as $key =>$value) {
 *** Testing array_udiff() : usage variation ***
 
 --int 0--
-array_udiff(): Argument #2 ($array2) must be of type array, int given
+array_udiff(): Argument #2 must be of type array, int given
 
 --int 1--
-array_udiff(): Argument #2 ($array2) must be of type array, int given
+array_udiff(): Argument #2 must be of type array, int given
 
 --int 12345--
-array_udiff(): Argument #2 ($array2) must be of type array, int given
+array_udiff(): Argument #2 must be of type array, int given
 
 --int -12345--
-array_udiff(): Argument #2 ($array2) must be of type array, int given
+array_udiff(): Argument #2 must be of type array, int given
 
 --float 10.5--
-array_udiff(): Argument #2 ($array2) must be of type array, float given
+array_udiff(): Argument #2 must be of type array, float given
 
 --float -10.5--
-array_udiff(): Argument #2 ($array2) must be of type array, float given
+array_udiff(): Argument #2 must be of type array, float given
 
 --float 12.3456789000e10--
-array_udiff(): Argument #2 ($array2) must be of type array, float given
+array_udiff(): Argument #2 must be of type array, float given
 
 --float -12.3456789000e10--
-array_udiff(): Argument #2 ($array2) must be of type array, float given
+array_udiff(): Argument #2 must be of type array, float given
 
 --float .5--
-array_udiff(): Argument #2 ($array2) must be of type array, float given
+array_udiff(): Argument #2 must be of type array, float given
 
 --uppercase NULL--
-array_udiff(): Argument #2 ($array2) must be of type array, null given
+array_udiff(): Argument #2 must be of type array, null given
 
 --lowercase null--
-array_udiff(): Argument #2 ($array2) must be of type array, null given
+array_udiff(): Argument #2 must be of type array, null given
 
 --lowercase true--
-array_udiff(): Argument #2 ($array2) must be of type array, bool given
+array_udiff(): Argument #2 must be of type array, bool given
 
 --lowercase false--
-array_udiff(): Argument #2 ($array2) must be of type array, bool given
+array_udiff(): Argument #2 must be of type array, bool given
 
 --uppercase TRUE--
-array_udiff(): Argument #2 ($array2) must be of type array, bool given
+array_udiff(): Argument #2 must be of type array, bool given
 
 --uppercase FALSE--
-array_udiff(): Argument #2 ($array2) must be of type array, bool given
+array_udiff(): Argument #2 must be of type array, bool given
 
 --empty string DQ--
-array_udiff(): Argument #2 ($array2) must be of type array, string given
+array_udiff(): Argument #2 must be of type array, string given
 
 --empty string SQ--
-array_udiff(): Argument #2 ($array2) must be of type array, string given
+array_udiff(): Argument #2 must be of type array, string given
 
 --string DQ--
-array_udiff(): Argument #2 ($array2) must be of type array, string given
+array_udiff(): Argument #2 must be of type array, string given
 
 --string SQ--
-array_udiff(): Argument #2 ($array2) must be of type array, string given
+array_udiff(): Argument #2 must be of type array, string given
 
 --mixed case string--
-array_udiff(): Argument #2 ($array2) must be of type array, string given
+array_udiff(): Argument #2 must be of type array, string given
 
 --heredoc--
-array_udiff(): Argument #2 ($array2) must be of type array, string given
+array_udiff(): Argument #2 must be of type array, string given
 
 --instance of classWithToString--
-array_udiff(): Argument #2 ($array2) must be of type array, classWithToString given
+array_udiff(): Argument #2 must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-array_udiff(): Argument #2 ($array2) must be of type array, classWithoutToString given
+array_udiff(): Argument #2 must be of type array, classWithoutToString given
 
 --undefined var--
-array_udiff(): Argument #2 ($array2) must be of type array, null given
+array_udiff(): Argument #2 must be of type array, null given
 
 --unset var--
-array_udiff(): Argument #2 ($array2) must be of type array, null given
+array_udiff(): Argument #2 must be of type array, null given
index c339b9094b20b61aaf8ade90f131be756dcf8241..abfa224b20ea47bdcfd5522ad8e1200db65956b8 100644 (file)
@@ -98,76 +98,76 @@ foreach($inputs as $key =>$value) {
 *** Testing array_uintersect_assoc() : usage variation ***
 
 --int 0--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, int given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, int given
 
 --int 1--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, int given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, int given
 
 --int 12345--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, int given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, int given
 
 --int -12345--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, int given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, int given
 
 --float 10.5--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, float given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, float given
 
 --float -10.5--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, float given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, float given
 
 --float 12.3456789000e10--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, float given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, float given
 
 --float -12.3456789000e10--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, float given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, float given
 
 --float .5--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, float given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, float given
 
 --uppercase NULL--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, null given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, null given
 
 --lowercase null--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, null given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, null given
 
 --lowercase true--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, bool given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, bool given
 
 --lowercase false--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, bool given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase TRUE--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, bool given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase FALSE--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, bool given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, bool given
 
 --empty string DQ--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, string given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, string given
 
 --empty string SQ--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, string given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, string given
 
 --string DQ--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, string given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, string given
 
 --string SQ--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, string given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, string given
 
 --mixed case string--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, string given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, string given
 
 --heredoc--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, string given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, string given
 
 --instance of classWithToString--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, classWithToString given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, classWithoutToString given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, classWithoutToString given
 
 --undefined var--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, null given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, null given
 
 --unset var--
-array_uintersect_assoc(): Argument #1 ($array1) must be of type array, null given
+array_uintersect_assoc(): Argument #1 ($array) must be of type array, null given
index 69b61d1a24b562331d8e48db3ca60fea26e85d84..080d81ceee41b47280354d45cfe417a6017151cb 100644 (file)
@@ -98,76 +98,76 @@ foreach($inputs as $key =>$value) {
 *** Testing array_uintersect_assoc() : usage variation ***
 
 --int 0--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, int given
+array_uintersect_assoc(): Argument #2 must be of type array, int given
 
 --int 1--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, int given
+array_uintersect_assoc(): Argument #2 must be of type array, int given
 
 --int 12345--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, int given
+array_uintersect_assoc(): Argument #2 must be of type array, int given
 
 --int -12345--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, int given
+array_uintersect_assoc(): Argument #2 must be of type array, int given
 
 --float 10.5--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, float given
+array_uintersect_assoc(): Argument #2 must be of type array, float given
 
 --float -10.5--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, float given
+array_uintersect_assoc(): Argument #2 must be of type array, float given
 
 --float 12.3456789000e10--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, float given
+array_uintersect_assoc(): Argument #2 must be of type array, float given
 
 --float -12.3456789000e10--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, float given
+array_uintersect_assoc(): Argument #2 must be of type array, float given
 
 --float .5--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, float given
+array_uintersect_assoc(): Argument #2 must be of type array, float given
 
 --uppercase NULL--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, null given
+array_uintersect_assoc(): Argument #2 must be of type array, null given
 
 --lowercase null--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, null given
+array_uintersect_assoc(): Argument #2 must be of type array, null given
 
 --lowercase true--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, bool given
+array_uintersect_assoc(): Argument #2 must be of type array, bool given
 
 --lowercase false--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, bool given
+array_uintersect_assoc(): Argument #2 must be of type array, bool given
 
 --uppercase TRUE--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, bool given
+array_uintersect_assoc(): Argument #2 must be of type array, bool given
 
 --uppercase FALSE--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, bool given
+array_uintersect_assoc(): Argument #2 must be of type array, bool given
 
 --empty string DQ--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, string given
+array_uintersect_assoc(): Argument #2 must be of type array, string given
 
 --empty string SQ--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, string given
+array_uintersect_assoc(): Argument #2 must be of type array, string given
 
 --string DQ--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, string given
+array_uintersect_assoc(): Argument #2 must be of type array, string given
 
 --string SQ--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, string given
+array_uintersect_assoc(): Argument #2 must be of type array, string given
 
 --mixed case string--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, string given
+array_uintersect_assoc(): Argument #2 must be of type array, string given
 
 --heredoc--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, string given
+array_uintersect_assoc(): Argument #2 must be of type array, string given
 
 --instance of classWithToString--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, classWithToString given
+array_uintersect_assoc(): Argument #2 must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, classWithoutToString given
+array_uintersect_assoc(): Argument #2 must be of type array, classWithoutToString given
 
 --undefined var--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, null given
+array_uintersect_assoc(): Argument #2 must be of type array, null given
 
 --unset var--
-array_uintersect_assoc(): Argument #2 ($array2) must be of type array, null given
+array_uintersect_assoc(): Argument #2 must be of type array, null given
index c946c1f634b09357e067b487b0a0a8ba78980dbb..cc92118bc2a2a3524d2d58672f1462340986584e 100644 (file)
@@ -99,76 +99,76 @@ foreach($inputs as $key =>$value) {
 *** Testing array_uintersect_uassoc() : usage variation ***
 
 --int 0--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, int given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, int given
 
 --int 1--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, int given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, int given
 
 --int 12345--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, int given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, int given
 
 --int -12345--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, int given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, int given
 
 --float 10.5--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --float -10.5--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --float 12.3456789000e10--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --float -12.3456789000e10--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --float .5--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, float given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, float given
 
 --uppercase NULL--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, null given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, null given
 
 --lowercase null--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, null given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, null given
 
 --lowercase true--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, bool given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, bool given
 
 --lowercase false--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, bool given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase TRUE--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, bool given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase FALSE--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, bool given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, bool given
 
 --empty string DQ--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --empty string SQ--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --string DQ--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --string SQ--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --mixed case string--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --heredoc--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, string given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, string given
 
 --instance of classWithToString--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, classWithToString given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, classWithoutToString given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, classWithoutToString given
 
 --undefined var--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, null given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, null given
 
 --unset var--
-array_uintersect_uassoc(): Argument #1 ($array1) must be of type array, null given
+array_uintersect_uassoc(): Argument #1 ($array) must be of type array, null given
index e2171f14534697dbc029382472fda49dcf347949..cfa7300b27414ddf5e77576c6935074462d919e1 100644 (file)
@@ -99,76 +99,76 @@ foreach($inputs as $key =>$value) {
 *** Testing array_uintersect_uassoc() : usage variation ***
 
 --int 0--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, int given
+array_uintersect_uassoc(): Argument #2 must be of type array, int given
 
 --int 1--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, int given
+array_uintersect_uassoc(): Argument #2 must be of type array, int given
 
 --int 12345--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, int given
+array_uintersect_uassoc(): Argument #2 must be of type array, int given
 
 --int -12345--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, int given
+array_uintersect_uassoc(): Argument #2 must be of type array, int given
 
 --float 10.5--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_uintersect_uassoc(): Argument #2 must be of type array, float given
 
 --float -10.5--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_uintersect_uassoc(): Argument #2 must be of type array, float given
 
 --float 12.3456789000e10--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_uintersect_uassoc(): Argument #2 must be of type array, float given
 
 --float -12.3456789000e10--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_uintersect_uassoc(): Argument #2 must be of type array, float given
 
 --float .5--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, float given
+array_uintersect_uassoc(): Argument #2 must be of type array, float given
 
 --uppercase NULL--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, null given
+array_uintersect_uassoc(): Argument #2 must be of type array, null given
 
 --lowercase null--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, null given
+array_uintersect_uassoc(): Argument #2 must be of type array, null given
 
 --lowercase true--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, bool given
+array_uintersect_uassoc(): Argument #2 must be of type array, bool given
 
 --lowercase false--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, bool given
+array_uintersect_uassoc(): Argument #2 must be of type array, bool given
 
 --uppercase TRUE--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, bool given
+array_uintersect_uassoc(): Argument #2 must be of type array, bool given
 
 --uppercase FALSE--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, bool given
+array_uintersect_uassoc(): Argument #2 must be of type array, bool given
 
 --empty string DQ--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_uintersect_uassoc(): Argument #2 must be of type array, string given
 
 --empty string SQ--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_uintersect_uassoc(): Argument #2 must be of type array, string given
 
 --string DQ--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_uintersect_uassoc(): Argument #2 must be of type array, string given
 
 --string SQ--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_uintersect_uassoc(): Argument #2 must be of type array, string given
 
 --mixed case string--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_uintersect_uassoc(): Argument #2 must be of type array, string given
 
 --heredoc--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, string given
+array_uintersect_uassoc(): Argument #2 must be of type array, string given
 
 --instance of classWithToString--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, classWithToString given
+array_uintersect_uassoc(): Argument #2 must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, classWithoutToString given
+array_uintersect_uassoc(): Argument #2 must be of type array, classWithoutToString given
 
 --undefined var--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, null given
+array_uintersect_uassoc(): Argument #2 must be of type array, null given
 
 --unset var--
-array_uintersect_uassoc(): Argument #2 ($array2) must be of type array, null given
+array_uintersect_uassoc(): Argument #2 must be of type array, null given
index c593a95fe678cd754e4ca496de2287b5abe0d746..b5442ed3924195b427014f316bcd1921f9391f92 100644 (file)
@@ -98,76 +98,76 @@ foreach($inputs as $key =>$value) {
 *** Testing array_uintersect() : usage variation ***
 
 --int 0--
-array_uintersect(): Argument #1 ($array1) must be of type array, int given
+array_uintersect(): Argument #1 ($array) must be of type array, int given
 
 --int 1--
-array_uintersect(): Argument #1 ($array1) must be of type array, int given
+array_uintersect(): Argument #1 ($array) must be of type array, int given
 
 --int 12345--
-array_uintersect(): Argument #1 ($array1) must be of type array, int given
+array_uintersect(): Argument #1 ($array) must be of type array, int given
 
 --int -12345--
-array_uintersect(): Argument #1 ($array1) must be of type array, int given
+array_uintersect(): Argument #1 ($array) must be of type array, int given
 
 --float 10.5--
-array_uintersect(): Argument #1 ($array1) must be of type array, float given
+array_uintersect(): Argument #1 ($array) must be of type array, float given
 
 --float -10.5--
-array_uintersect(): Argument #1 ($array1) must be of type array, float given
+array_uintersect(): Argument #1 ($array) must be of type array, float given
 
 --float 12.3456789000e10--
-array_uintersect(): Argument #1 ($array1) must be of type array, float given
+array_uintersect(): Argument #1 ($array) must be of type array, float given
 
 --float -12.3456789000e10--
-array_uintersect(): Argument #1 ($array1) must be of type array, float given
+array_uintersect(): Argument #1 ($array) must be of type array, float given
 
 --float .5--
-array_uintersect(): Argument #1 ($array1) must be of type array, float given
+array_uintersect(): Argument #1 ($array) must be of type array, float given
 
 --uppercase NULL--
-array_uintersect(): Argument #1 ($array1) must be of type array, null given
+array_uintersect(): Argument #1 ($array) must be of type array, null given
 
 --lowercase null--
-array_uintersect(): Argument #1 ($array1) must be of type array, null given
+array_uintersect(): Argument #1 ($array) must be of type array, null given
 
 --lowercase true--
-array_uintersect(): Argument #1 ($array1) must be of type array, bool given
+array_uintersect(): Argument #1 ($array) must be of type array, bool given
 
 --lowercase false--
-array_uintersect(): Argument #1 ($array1) must be of type array, bool given
+array_uintersect(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase TRUE--
-array_uintersect(): Argument #1 ($array1) must be of type array, bool given
+array_uintersect(): Argument #1 ($array) must be of type array, bool given
 
 --uppercase FALSE--
-array_uintersect(): Argument #1 ($array1) must be of type array, bool given
+array_uintersect(): Argument #1 ($array) must be of type array, bool given
 
 --empty string DQ--
-array_uintersect(): Argument #1 ($array1) must be of type array, string given
+array_uintersect(): Argument #1 ($array) must be of type array, string given
 
 --empty string SQ--
-array_uintersect(): Argument #1 ($array1) must be of type array, string given
+array_uintersect(): Argument #1 ($array) must be of type array, string given
 
 --string DQ--
-array_uintersect(): Argument #1 ($array1) must be of type array, string given
+array_uintersect(): Argument #1 ($array) must be of type array, string given
 
 --string SQ--
-array_uintersect(): Argument #1 ($array1) must be of type array, string given
+array_uintersect(): Argument #1 ($array) must be of type array, string given
 
 --mixed case string--
-array_uintersect(): Argument #1 ($array1) must be of type array, string given
+array_uintersect(): Argument #1 ($array) must be of type array, string given
 
 --heredoc--
-array_uintersect(): Argument #1 ($array1) must be of type array, string given
+array_uintersect(): Argument #1 ($array) must be of type array, string given
 
 --instance of classWithToString--
-array_uintersect(): Argument #1 ($array1) must be of type array, classWithToString given
+array_uintersect(): Argument #1 ($array) must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-array_uintersect(): Argument #1 ($array1) must be of type array, classWithoutToString given
+array_uintersect(): Argument #1 ($array) must be of type array, classWithoutToString given
 
 --undefined var--
-array_uintersect(): Argument #1 ($array1) must be of type array, null given
+array_uintersect(): Argument #1 ($array) must be of type array, null given
 
 --unset var--
-array_uintersect(): Argument #1 ($array1) must be of type array, null given
+array_uintersect(): Argument #1 ($array) must be of type array, null given
index 515b1ef207c0b573770c799218ae147dddfcbca1..2f6b9d3e99fef9f0058350c11cc6811604f12761 100644 (file)
@@ -98,76 +98,76 @@ foreach($inputs as $key =>$value) {
 *** Testing array_uintersect() : usage variation ***
 
 --int 0--
-array_uintersect(): Argument #2 ($array2) must be of type array, int given
+array_uintersect(): Argument #2 must be of type array, int given
 
 --int 1--
-array_uintersect(): Argument #2 ($array2) must be of type array, int given
+array_uintersect(): Argument #2 must be of type array, int given
 
 --int 12345--
-array_uintersect(): Argument #2 ($array2) must be of type array, int given
+array_uintersect(): Argument #2 must be of type array, int given
 
 --int -12345--
-array_uintersect(): Argument #2 ($array2) must be of type array, int given
+array_uintersect(): Argument #2 must be of type array, int given
 
 --float 10.5--
-array_uintersect(): Argument #2 ($array2) must be of type array, float given
+array_uintersect(): Argument #2 must be of type array, float given
 
 --float -10.5--
-array_uintersect(): Argument #2 ($array2) must be of type array, float given
+array_uintersect(): Argument #2 must be of type array, float given
 
 --float 12.3456789000e10--
-array_uintersect(): Argument #2 ($array2) must be of type array, float given
+array_uintersect(): Argument #2 must be of type array, float given
 
 --float -12.3456789000e10--
-array_uintersect(): Argument #2 ($array2) must be of type array, float given
+array_uintersect(): Argument #2 must be of type array, float given
 
 --float .5--
-array_uintersect(): Argument #2 ($array2) must be of type array, float given
+array_uintersect(): Argument #2 must be of type array, float given
 
 --uppercase NULL--
-array_uintersect(): Argument #2 ($array2) must be of type array, null given
+array_uintersect(): Argument #2 must be of type array, null given
 
 --lowercase null--
-array_uintersect(): Argument #2 ($array2) must be of type array, null given
+array_uintersect(): Argument #2 must be of type array, null given
 
 --lowercase true--
-array_uintersect(): Argument #2 ($array2) must be of type array, bool given
+array_uintersect(): Argument #2 must be of type array, bool given
 
 --lowercase false--
-array_uintersect(): Argument #2 ($array2) must be of type array, bool given
+array_uintersect(): Argument #2 must be of type array, bool given
 
 --uppercase TRUE--
-array_uintersect(): Argument #2 ($array2) must be of type array, bool given
+array_uintersect(): Argument #2 must be of type array, bool given
 
 --uppercase FALSE--
-array_uintersect(): Argument #2 ($array2) must be of type array, bool given
+array_uintersect(): Argument #2 must be of type array, bool given
 
 --empty string DQ--
-array_uintersect(): Argument #2 ($array2) must be of type array, string given
+array_uintersect(): Argument #2 must be of type array, string given
 
 --empty string SQ--
-array_uintersect(): Argument #2 ($array2) must be of type array, string given
+array_uintersect(): Argument #2 must be of type array, string given
 
 --string DQ--
-array_uintersect(): Argument #2 ($array2) must be of type array, string given
+array_uintersect(): Argument #2 must be of type array, string given
 
 --string SQ--
-array_uintersect(): Argument #2 ($array2) must be of type array, string given
+array_uintersect(): Argument #2 must be of type array, string given
 
 --mixed case string--
-array_uintersect(): Argument #2 ($array2) must be of type array, string given
+array_uintersect(): Argument #2 must be of type array, string given
 
 --heredoc--
-array_uintersect(): Argument #2 ($array2) must be of type array, string given
+array_uintersect(): Argument #2 must be of type array, string given
 
 --instance of classWithToString--
-array_uintersect(): Argument #2 ($array2) must be of type array, classWithToString given
+array_uintersect(): Argument #2 must be of type array, classWithToString given
 
 --instance of classWithoutToString--
-array_uintersect(): Argument #2 ($array2) must be of type array, classWithoutToString given
+array_uintersect(): Argument #2 must be of type array, classWithoutToString given
 
 --undefined var--
-array_uintersect(): Argument #2 ($array2) must be of type array, null given
+array_uintersect(): Argument #2 must be of type array, null given
 
 --unset var--
-array_uintersect(): Argument #2 ($array2) must be of type array, null given
+array_uintersect(): Argument #2 must be of type array, null given