Home
last modified time | relevance | path

Searched refs:array_diff_key (Results 1 – 19 of 19) sorted by relevance

/PHP-8.0/ext/standard/tests/array/
H A Darray_diff_key_variation1.phpt5 echo "*** Testing array_diff_key() : usage variation ***\n";
89 var_dump( array_diff_key($value, $array2) );
94 var_dump( array_diff_key($value, $array2, $array3) );
103 *** Testing array_diff_key() : usage variation ***
106 array_diff_key(): Argument #1 ($array) must be of type array, int given
107 array_diff_key(): Argument #1 ($array) must be of type array, int given
110 array_diff_key(): Argument #1 ($array) must be of type array, int given
111 array_diff_key(): Argument #1 ($array) must be of type array, int given
114 array_diff_key(): Argument #1 ($array) must be of type array, int given
115 array_diff_key(): Argument #1 ($array) must be of type array, int given
[all …]
H A Darray_diff_key_variation2.phpt5 echo "*** Testing array_diff_key() : usage variation ***\n";
90 var_dump( array_diff_key($array1, $value) );
95 var_dump( array_diff_key($array1, $value, $array3) );
104 *** Testing array_diff_key() : usage variation ***
107 array_diff_key(): Argument #2 must be of type array, int given
108 array_diff_key(): Argument #2 must be of type array, int given
111 array_diff_key(): Argument #2 must be of type array, int given
112 array_diff_key(): Argument #2 must be of type array, int given
115 array_diff_key(): Argument #2 must be of type array, int given
116 array_diff_key(): Argument #2 must be of type array, int given
[all …]
H A Darray_diff_key_variation5.phpt2 Test array_diff_key() function : usage variation - Passing float indexed array
5 echo "*** Testing array_diff_key() : usage variation ***\n";
11 echo "\n-- Testing array_diff_key() function with float indexed array --\n";
13 var_dump( array_diff_key($input_array, $float_indx_array) );
14 var_dump( array_diff_key($float_indx_array, $input_array) );
17 *** Testing array_diff_key() : usage variation ***
19 -- Testing array_diff_key() function with float indexed array --
H A Darray_diff_key_variation6.phpt2 Test array_diff_key() function : usage variation - Passing boolean indexed array
5 echo "*** Testing array_diff_key() : usage variation ***\n";
11 echo "\n-- Testing array_diff_key() function with boolean indexed array --\n";
13 var_dump( array_diff_key($input_array, $boolean_indx_array) );
14 var_dump( array_diff_key($boolean_indx_array, $input_array) );
17 *** Testing array_diff_key() : usage variation ***
19 -- Testing array_diff_key() function with boolean indexed array --
H A Darray_diff_key_variation8.phpt2 Test array_diff_key() function : usage variation - Passing multi-dimensional array
5 echo "*** Testing array_diff_key() : usage variation ***\n";
26 echo "\n-- Testing array_diff_key() function with multi dimensional array --\n";
27 var_dump( array_diff_key($array1, $array2) );
28 var_dump( array_diff_key($array2, $array1) );
31 *** Testing array_diff_key() : usage variation ***
33 -- Testing array_diff_key() function with multi dimensional array --
H A Darray_diff_key2.phpt2 basic array_diff_key test
8 $result[] = array_diff_key($array1, $array2);
9 $result[] = array_diff_key($array1, $array3);
10 $result[] = array_diff_key($array2, $array3);
11 $result[] = array_diff_key($array1, $array2, $array3);
H A Darray_diff_key_variation4.phpt2 Test array_diff_key() function : usage variation - Passing integer indexed array
5 echo "*** Testing array_diff_key() : usage variation ***\n";
19 var_dump( array_diff_key($input_array, $value) );
20 var_dump( array_diff_key($value, $input_array) );
24 *** Testing array_diff_key() : usage variation ***
H A Darray_diff_key.phpt2 Test of the array_diff_key() and array_diff_ukey()
21 var_dump(array_diff_key($a_f, $b_f));// keys -> 1, 6, 15, 1200
25 var_dump(array_diff_key($a_f, $c_f));// keys -> 1, 15, 1200
29 var_dump(array_diff_key($a_f, $d_f));// 1, 6, 2, 15, 1200, -2500
33 var_dump(array_diff_key($a_f, $b_f, $c_f));// 1, 15, 1200
37 var_dump(array_diff_key($a_f, $b_f, $d_f));// 1, 6, 15, 1200
42 var_dump(array_diff_key($a_f, $b_f, $c_f, $d_f));// 1, 15, 1200
47 var_dump(array_diff_key($b_f, $c_f));// 7, 11, 1100
51 var_dump(array_diff_key($b_f, $d_f));//0, 7, 2, 11, 1100, -2500
56 var_dump(array_diff_key($b_f, $c_f, $d_f));// 7, 11, 1100
H A Darray_diff_key_variation7.phpt2 Test array_diff_key() function : usage variation - Passing null,unset and undefined variable indexe…
5 echo "*** Testing array_diff_key() : usage variation ***\n";
23 var_dump( array_diff_key($input_array, $value) );
24 var_dump( array_diff_key($value, $input_array) );
28 *** Testing array_diff_key() : usage variation ***
H A Darray_diff_key_basic.phpt2 Test array_diff_key() : basic functionality
10 var_dump(array_diff_key($array1, $array2));
H A Darray_diff_uassoc_variation10.phpt11 echo "\n-- Testing array_diff_key() function with float indexed array --\n";
19 -- Testing array_diff_key() function with float indexed array --
H A Darray_diff_uassoc_variation11.phpt11 echo "\n-- Testing array_diff_key() function with float indexed array --\n";
19 -- Testing array_diff_key() function with float indexed array --
H A Darray_diff_single_array.phpt9 var_dump(array_diff_key($array));
/PHP-8.0/ext/opcache/tests/
H A Dbug77092.phpt2 Bug #77092: array_diff_key() - segmentation fault
14 print_r(array_diff_key($anyArrayOne, $anyArrayTwo));
H A Dget_configuration_matches_ini.phpt13 var_dump(array_diff_key($inis, $opts));
/PHP-8.0/Zend/tests/named_params/
H A Dinternal_variadics.phpt13 array_diff_key([1, 2], [3, 4], a: [5, 6]);
21 array_diff_key() does not accept unknown named parameters
/PHP-8.0/ext/standard/
H A Dbasic_functions.stub.php197 function array_diff_key(array $array, array ...$arrays): array {} function
H A Dbasic_functions_arginfo.h2294 ZEND_FUNCTION(array_diff_key);
2919 ZEND_FE(array_diff_key, arginfo_array_diff_key)
H A Darray.c5280 PHP_FUNCTION(array_diff_key) argument

Completed in 60 milliseconds