/php-src/ext/standard/tests/array/ |
H A D | array_diff_assoc_variation2.phpt | 6 * pass array_diff_assoc arguments which are not arrays in place of $array2 9 echo "\n*** Testing array_diff_assoc() : usage variations ***\n"; 90 var_dump(array_diff_assoc($array, $input)); 100 *** Testing array_diff_assoc() : usage variations *** 103 array_diff_assoc(): Argument #2 must be of type array, int given 106 array_diff_assoc(): Argument #2 must be of type array, int given 109 array_diff_assoc(): Argument #2 must be of type array, int given 112 array_diff_assoc(): Argument #2 must be of type array, int given 130 array_diff_assoc(): Argument #2 must be of type array, null given 133 array_diff_assoc(): Argument #2 must be of type array, null given [all …]
|
H A D | array_diff_assoc_variation1.phpt | 6 * Pass array_diff_assoc arguments that are not arrays in place of $array1 9 echo "*** Testing array_diff_assoc() : usage variations ***\n"; 90 var_dump(array_diff_assoc($input, $array)); 100 *** Testing array_diff_assoc() : usage variations *** 103 array_diff_assoc(): Argument #1 ($array) must be of type array, int given 106 array_diff_assoc(): Argument #1 ($array) must be of type array, int given 109 array_diff_assoc(): Argument #1 ($array) must be of type array, int given 112 array_diff_assoc(): Argument #1 ($array) must be of type array, int given 130 array_diff_assoc(): Argument #1 ($array) must be of type array, null given 133 array_diff_assoc(): Argument #1 ($array) must be of type array, null given [all …]
|
H A D | array_diff_assoc_variation5.phpt | 6 * Test how array_diff_assoc compares integers, floats and string 9 echo "*** Testing array_diff_assoc() : usage variations ***\n"; 16 var_dump(array_diff_assoc($arr_default_int, $arr_float)); 17 var_dump(array_diff_assoc($arr_float, $arr_default_int)); 20 var_dump(array_diff_assoc($arr_default_int, $arr_string)); 21 var_dump(array_diff_assoc($arr_string, $arr_default_int)); 28 var_dump(array_diff_assoc($arr_float, $arr_string)); 29 var_dump(array_diff_assoc($arr_string, $arr_float)); 32 var_dump(array_diff_assoc($arr_float, $arr_string_float)); 33 var_dump(array_diff_assoc($arr_string_float, $arr_float)); [all …]
|
H A D | array_diff_assoc_basic.phpt | 2 Test array_diff_assoc() function : basic functionality 6 * Test basic functionality of array_diff_assoc 9 echo "*** Testing array_diff_assoc() : basic functionality ***\n"; 17 var_dump(array_diff_assoc($array_default_key, $array_numeric_key)); 18 var_dump(array_diff_assoc($array_numeric_key, $array_default_key)); 22 var_dump(array_diff_assoc($array_default_key, $array_numeric_key)); 23 var_dump(array_diff_assoc($array_numeric_key, $array_default_key)); 27 var_dump(array_diff_assoc($array_numeric_key, $array_string_key)); 28 var_dump(array_diff_assoc($array_string_key, $array_numeric_key)); 34 *** Testing array_diff_assoc() : basic functionality ***
|
H A D | array_diff_assoc_variation7.phpt | 6 * Tests how array_diff_assoc compares 11 echo "*** Testing array_diff_assoc() : usage variations ***\n"; 19 var_dump(array_diff_assoc($arr1, $arr2)); 20 var_dump(array_diff_assoc($arr2, $arr1)); 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)); [all …]
|
H A D | array_diff_assoc_variation9.phpt | 2 Test array_diff_assoc() function : usage variations - compare multidimensional arrays 6 * Test how array_diff_assoc behaves when comparing 10 echo "*** Testing array_diff_assoc() : usage variations ***\n"; 18 var_dump(array_diff_assoc($array1, $array2)); 19 var_dump(array_diff_assoc($array2, $array1)); 22 var_dump(array_diff_assoc($array1['sub_array1'], $array2['sub_arraya'])); 23 var_dump(array_diff_assoc($array2['sub_arraya'], $array1['sub_array1'])); 24 var_dump(array_diff_assoc($array1['sub_array2'], $array2['sub_arrayb'])); 28 var_dump(array_diff_assoc($array1['sub_array1'], $array2)); 29 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 6 * Test how array_diff_assoc() compares binary data 9 echo "*** Testing array_diff_assoc() : usage variations ***\n"; 22 var_dump(array_diff_assoc($array1, $array2)); 23 var_dump(array_diff_assoc($array2, $array1)); 28 *** Testing array_diff_assoc() : usage variations ***
|
H A D | array_diff_assoc_variation8.phpt | 2 Test array_diff_assoc() function : usage variations - array containing duplicate keys and values 6 * Test how array_diff_assoc() behaves when comparing: 12 echo "*** Testing array_diff_assoc() : variation ***\n"; 21 var_dump(array_diff_assoc($array_index, $array_assoc)); 22 var_dump(array_diff_assoc($array_assoc, $array_index)); 27 *** Testing array_diff_assoc() : variation ***
|
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_variation6.phpt | 2 Test array_diff_assoc() function : usage variations - strict string comparison check 6 * Test how array_diff_assoc behaves 12 echo "*** Testing array_diff_assoc() : usage variations ***\n"; 62 // loop through each element of $inputs to check the behavior of array_diff_assoc 66 var_dump(array_diff_assoc($array, $input)); 67 var_dump(array_diff_assoc($input, $array)); 73 *** 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 6 * Test how array_diff_assoc() compares arrays containing different data types 10 echo "\n*** Testing array_diff_assoc() : usage variations ***\n"; 79 // loop through each element of $inputs to check the behavior of array_diff_assoc 83 var_dump( array_diff_assoc($input, $array)); 90 *** 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 6 * Test how array_diff_assoc() compares indexed arrays containing different data types 9 echo "\n*** Testing array_diff_assoc() : usage variations ***\n"; 99 // loop through each element of $inputs to check the behavior of array_diff_assoc 103 var_dump( array_diff_assoc($input, $array)); 109 *** Testing array_diff_assoc() : usage variations ***
|
H A D | bug29253.phpt | 7 var_dump(@array_diff_assoc($GLOBALS, $zz));
|
H A D | array_diff_single_array.phpt | 11 var_dump(array_diff_assoc($array));
|
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));
|
/php-src/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-src/ext/openssl/tests/ |
H A D | openssl_pkey_export_basic.phpt | 35 var_dump(array_diff_assoc($details['ec'], $detailsPKey['ec']));
|
/php-src/ext/standard/tests/array/sort/ |
H A D | array_shuffle_basic.phpt | 39 $diffarray = array_diff_assoc($original, $bigarray);
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 1835 function array_diff_assoc(array $array, array ...$arrays): array {} function
|
H A D | basic_functions_arginfo.h | 2373 ZEND_FUNCTION(array_diff_assoc);
|
H A D | array.c | 5936 PHP_FUNCTION(array_diff_assoc) argument
|