Home
last modified time | relevance | path

Searched refs:array_diff_assoc (Results 1 – 21 of 21) sorted by relevance

/php-src/ext/standard/tests/array/
H A Darray_diff_assoc_variation2.phpt6 * 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 Darray_diff_assoc_variation1.phpt6 * 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 Darray_diff_assoc_variation5.phpt6 * 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 Darray_diff_assoc_basic.phpt2 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 Darray_diff_assoc_variation7.phpt6 * 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 Darray_diff_assoc_variation9.phpt2 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 Darray_diff_assoc_variation10.phpt2 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 Darray_diff_assoc_variation8.phpt2 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 Darray_diff_assoc.phpt2 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 Darray_diff_assoc_variation6.phpt2 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 Darray_diff_assoc_variation4.phpt2 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 Darray_diff_assoc_variation3.phpt2 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 Dbug29253.phpt7 var_dump(@array_diff_assoc($GLOBALS, $zz));
H A Darray_diff_single_array.phpt11 var_dump(array_diff_assoc($array));
H A D007.phpt2 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 D004.phpt15 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 Dopenssl_pkey_export_basic.phpt35 var_dump(array_diff_assoc($details['ec'], $detailsPKey['ec']));
/php-src/ext/standard/tests/array/sort/
H A Darray_shuffle_basic.phpt39 $diffarray = array_diff_assoc($original, $bigarray);
/php-src/ext/standard/
H A Dbasic_functions.stub.php1835 function array_diff_assoc(array $array, array ...$arrays): array {} function
H A Dbasic_functions_arginfo.h2373 ZEND_FUNCTION(array_diff_assoc);
H A Darray.c5936 PHP_FUNCTION(array_diff_assoc) argument

Completed in 60 milliseconds