/PHP-7.2/ext/standard/tests/array/ |
H A D | array_diff_assoc_error.phpt | 2 Test array_diff_assoc() function : error conditions - pass array_diff_assoc() too few/zero arguments 5 /* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) 15 echo "*** Testing array_diff_assoc() : error conditions ***\n"; 18 echo "\n-- Testing array_diff_assoc() function with zero arguments --\n"; 19 var_dump( array_diff_assoc() ); 21 // Testing array_diff_assoc with one less than the expected number of arguments 24 var_dump( array_diff_assoc($arr1) ); 30 *** Testing array_diff_assoc() : error conditions *** 32 -- Testing array_diff_assoc() function with zero arguments -- 34 Warning: array_diff_assoc(): at least 2 parameters are required, 0 given in %s on line %d [all …]
|
H A D | array_diff_assoc_variation1.phpt | 5 /* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) 12 * Pass array_diff_assoc arguments that are not arrays in place of $arr1 15 echo "*** Testing array_diff_assoc() : usage variations ***\n"; 95 var_dump( array_diff_assoc($input, $array)); 102 *** Testing array_diff_assoc() : usage variations *** 106 Warning: array_diff_assoc(): Argument #1 is not an array in %s on line %d 111 Warning: array_diff_assoc(): Argument #1 is not an array in %s on line %d 116 Warning: array_diff_assoc(): Argument #1 is not an array in %s on line %d 121 Warning: array_diff_assoc(): Argument #1 is not an array in %s on line %d 126 Warning: array_diff_assoc(): Argument #1 is not an array in %s on line %d [all …]
|
H A D | array_diff_assoc_variation2.phpt | 5 /* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) 12 * pass array_diff_assoc arguments which are not arrays in place of $arr2 15 echo "\n*** Testing array_diff_assoc() : usage variations ***\n"; 95 var_dump( array_diff_assoc($array, $input)); 102 *** Testing array_diff_assoc() : usage variations *** 106 Warning: array_diff_assoc(): Argument #2 is not an array in %s on line %d 111 Warning: array_diff_assoc(): Argument #2 is not an array in %s on line %d 116 Warning: array_diff_assoc(): Argument #2 is not an array in %s on line %d 121 Warning: array_diff_assoc(): Argument #2 is not an array in %s on line %d 126 Warning: array_diff_assoc(): Argument #2 is not an array in %s on line %d [all …]
|
H A D | array_diff_assoc_variation5.phpt | 15 echo "*** Testing array_diff_assoc() : usage variations ***\n"; 22 var_dump(array_diff_assoc($arr_default_int, $arr_float)); 23 var_dump(array_diff_assoc($arr_float, $arr_default_int)); 26 var_dump(array_diff_assoc($arr_default_int, $arr_string)); 27 var_dump(array_diff_assoc($arr_string, $arr_default_int)); 34 var_dump(array_diff_assoc($arr_float, $arr_string)); 35 var_dump(array_diff_assoc($arr_string, $arr_float)); 38 var_dump(array_diff_assoc($arr_float, $arr_string_float)); 39 var_dump(array_diff_assoc($arr_string_float, $arr_float)); 42 var_dump(array_diff_assoc($arr_string, $arr_string_float)); [all …]
|
H A D | array_diff_assoc_variation7.phpt | 12 * Tests how array_diff_assoc compares 17 echo "*** Testing array_diff_assoc() : usage variations ***\n"; 25 var_dump(array_diff_assoc($arr1, $arr2)); 26 var_dump(array_diff_assoc($arr2, $arr1)); 31 var_dump(array_diff_assoc($arr1, $arr2)); 32 var_dump(array_diff_assoc($arr2, $arr1)); 37 var_dump(array_diff_assoc($arr1, $arr2)); 38 var_dump(array_diff_assoc($arr2, $arr1)); 43 var_dump(array_diff_assoc($arr1, $arr2)); 44 var_dump(array_diff_assoc($arr2, $arr1)); [all …]
|
H A D | array_diff_assoc_basic.phpt | 2 Test array_diff_assoc() function : basic functionality 5 /* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) 12 * Test basic functionality of array_diff_assoc 15 echo "*** Testing array_diff_assoc() : basic functionality ***\n"; 23 var_dump(array_diff_assoc($array_default_key, $array_numeric_key)); 24 var_dump(array_diff_assoc($array_numeric_key, $array_default_key)); 28 var_dump(array_diff_assoc($array_default_key, $array_numeric_key)); 29 var_dump(array_diff_assoc($array_numeric_key, $array_default_key)); 33 var_dump(array_diff_assoc($array_numeric_key, $array_string_key)); 34 var_dump(array_diff_assoc($array_string_key, $array_numeric_key)); [all …]
|
H A D | array_diff_assoc_variation9.phpt | 2 Test array_diff_assoc() function : usage variations - compare multidimensional arrays 5 /* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) 13 * Test how array_diff_assoc behaves when comparing 17 echo "*** Testing array_diff_assoc() : usage variations ***\n"; 25 var_dump(array_diff_assoc($array1, $array2)); 26 var_dump(array_diff_assoc($array2, $array1)); 29 var_dump(array_diff_assoc($array1['sub_array1'], $array2['sub_arraya'])); 30 var_dump(array_diff_assoc($array2['sub_arraya'], $array1['sub_array1'])); 35 var_dump(array_diff_assoc($array1['sub_array1'], $array2)); 36 var_dump(array_diff_assoc($array1, $array2['sub_arraya'])); [all …]
|
H A D | array_diff_assoc_variation10.phpt | 2 Test array_diff_assoc() function : usage variations - binary safe check 5 /* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) 13 * Test how array_diff_assoc() compares binary data 16 echo "*** Testing array_diff_assoc() : usage variations ***\n"; 29 var_dump(array_diff_assoc($array1, $array2)); 30 var_dump(array_diff_assoc($array2, $array1)); 35 *** Testing array_diff_assoc() : usage variations ***
|
H A D | array_diff_assoc.phpt | 2 basic array_diff_assoc test 8 $result[] = array_diff_assoc($array1, $array2); 9 $result[] = array_diff_assoc($array1, $array3); 10 $result[] = array_diff_assoc($array2, $array3); 11 $result[] = array_diff_assoc($array1, $array2, $array3);
|
H A D | array_diff_assoc_variation8.phpt | 2 Test array_diff_assoc() function : usage variations - array containing duplicate keys and values 5 /* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) 13 * Test how array_diff_assoc() behaves when comparing: 19 echo "*** Testing array_diff_assoc() : variation ***\n"; 28 var_dump(array_diff_assoc($array_index, $array_assoc)); 29 var_dump(array_diff_assoc($array_assoc, $array_index)); 34 *** Testing array_diff_assoc() : variation ***
|
H A D | array_diff_assoc_variation6.phpt | 2 Test array_diff_assoc() function : usage variations - strict string comparison check 5 /* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) 12 * Test how array_diff_assoc behaves 18 echo "*** Testing array_diff_assoc() : usage variations ***\n"; 68 // loop through each element of $inputs to check the behavior of array_diff_assoc 72 var_dump(array_diff_assoc($array, $input)); 73 var_dump(array_diff_assoc($input, $array)); 79 *** Testing array_diff_assoc() : usage variations ***
|
H A D | array_diff_assoc_variation3.phpt | 2 Test array_diff_assoc() function : variation - array containing different data types 5 /* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) 12 * Test how array_diff_assoc() compares indexed arrays containing different data types 15 echo "\n*** Testing array_diff_assoc() : usage variations ***\n"; 105 // loop through each element of $inputs to check the behavior of array_diff_assoc 109 var_dump( array_diff_assoc($input, $array)); 115 *** Testing array_diff_assoc() : usage variations ***
|
H A D | array_diff_assoc_variation4.phpt | 2 Test array_diff_assoc() function : usage variations - arrays with different data types as keys 5 /* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) 12 * Test how array_diff_assoc() compares arrays containing different data types 16 echo "\n*** Testing array_diff_assoc() : usage variations ***\n"; 92 // loop through each element of $inputs to check the behavior of array_diff_assoc 96 var_dump( array_diff_assoc($input, $array)); 103 *** Testing array_diff_assoc() : usage variations ***
|
H A D | bug29253.phpt | 7 var_dump(@array_diff_assoc($GLOBALS, $zz));
|
H A D | 007.phpt | 2 Test array_diff and array_diff_assoc behaviour 12 var_dump(array_diff_assoc($a,$b,$c)); 49 var_dump(array_diff_assoc($a,$b,$c)); 86 var_dump(array_diff_assoc($a,$b,$c));
|
H A D | array_shuffle_basic.phpt | 40 $diffarray = array_diff_assoc($original, $bigarray);
|
/PHP-7.2/ext/sysvmsg/tests/ |
H A D | 004.phpt | 15 var_dump(count(array_diff_assoc($arr, msg_stat_queue($q))) == 0); 21 var_dump(count(array_diff_assoc($arr, msg_stat_queue($q))) == 0); 27 var_dump(count(array_diff_assoc($arr, msg_stat_queue($q))) == 0); 34 var_dump(count(array_diff_assoc($arr, msg_stat_queue($q))) == 0);
|
/PHP-7.2/ext/openssl/tests/ |
H A D | openssl_pkey_export_basic.phpt | 35 var_dump(array_diff_assoc($details['ec'], $detailsPKey['ec']));
|
/PHP-7.2/ext/standard/ |
H A D | php_array.h | 94 PHP_FUNCTION(array_diff_assoc);
|
H A D | basic_functions.c | 3367 PHP_FE(array_diff_assoc, arginfo_array_diff_assoc)
|
H A D | array.c | 5487 PHP_FUNCTION(array_diff_assoc) argument
|
/PHP-7.2/ |
H A D | server-tests.php | 121 $w1 = array_diff_assoc($w,$o); 122 $o1 = array_diff_assoc($o,$w);
|