Home
last modified time | relevance | path

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

/PHP-7.3/ext/standard/tests/array/
H A Darray_diff_key_error.phpt2 Test array_diff_key() function : error conditions
5 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...])
10 echo "*** Testing array_diff_key() : error conditions ***\n";
15 // Testing array_diff_key with one less than the expected number of arguments
17 var_dump( array_diff_key($array1) );
19 // Testing array_diff_key with no arguments
20 echo "\n-- Testing array_diff_key() function with no arguments --\n";
21 var_dump( array_diff_key() );
25 *** Testing array_diff_key() : error conditions ***
27 -- Testing array_diff_key() function with less than expected no. of arguments --
[all …]
H A Darray_diff_key_variation1.phpt2 Test array_diff_key() function : usage variation - Passing unexpected values to first argument
5 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...])
10 echo "*** Testing array_diff_key() : usage variation ***\n";
93 var_dump( array_diff_key($value, $array2) );
94 var_dump( array_diff_key($value, $array2, $array3) );
101 *** Testing array_diff_key() : usage variation ***
105 Warning: array_diff_key(): Expected parameter 1 to be an array, int given in %s on line %d
108 Warning: array_diff_key(): Expected parameter 1 to be an array, int given in %s on line %d
113 Warning: array_diff_key(): Expected parameter 1 to be an array, int given in %s on line %d
116 Warning: array_diff_key(): Expected parameter 1 to be an array, int given in %s on line %d
[all …]
H A Darray_diff_key_variation2.phpt2 Test array_diff_key() function : usage variation - Passing unexpected values to second argument
5 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...])
10 echo "*** Testing array_diff_key() : usage variation ***\n";
94 var_dump( array_diff_key($array1, $value) );
95 var_dump( array_diff_key($array1, $value, $array3) );
102 *** Testing array_diff_key() : usage variation ***
106 Warning: array_diff_key(): Expected parameter 2 to be an array, int given in %s on line %d
109 Warning: array_diff_key(): Expected parameter 2 to be an array, int given in %s on line %d
114 Warning: array_diff_key(): Expected parameter 2 to be an array, int given in %s on line %d
117 Warning: array_diff_key(): Expected parameter 2 to be an array, int given in %s on line %d
[all …]
H A Darray_diff_key_variation3.phpt2 Test array_diff_key() function : usage variation - Passing unexpected values to third optional argu…
5 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...])
10 echo "*** Testing array_diff_key() : usage variation ***\n";
94 var_dump( array_diff_key($array1, $array2, $value) );
101 *** Testing array_diff_key() : usage variation ***
105 Warning: array_diff_key(): Expected parameter 3 to be an array, int given in %s on line %d
110 Warning: array_diff_key(): Expected parameter 3 to be an array, int given in %s on line %d
115 Warning: array_diff_key(): Expected parameter 3 to be an array, int given in %s on line %d
120 Warning: array_diff_key(): Expected parameter 3 to be an array, int given in %s on line %d
150 Warning: array_diff_key(): Expected parameter 3 to be an array, null given in %s on line %d
[all …]
H A Darray_diff_key_variation5.phpt2 Test array_diff_key() function : usage variation - Passing float indexed array
5 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...])
10 echo "*** Testing array_diff_key() : usage variation ***\n";
16 echo "\n-- Testing array_diff_key() function with float indexed array --\n";
18 var_dump( array_diff_key($input_array, $float_indx_array) );
19 var_dump( array_diff_key($float_indx_array, $input_array) );
23 *** Testing array_diff_key() : usage variation ***
25 -- 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 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...])
10 echo "*** Testing array_diff_key() : usage variation ***\n";
16 echo "\n-- Testing array_diff_key() function with boolean indexed array --\n";
18 var_dump( array_diff_key($input_array, $boolean_indx_array) );
19 var_dump( array_diff_key($boolean_indx_array, $input_array) );
23 *** Testing array_diff_key() : usage variation ***
25 -- 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 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...])
10 echo "*** Testing array_diff_key() : usage variation ***\n";
31 echo "\n-- Testing array_diff_key() function with multi dimensional array --\n";
32 var_dump( array_diff_key($array1, $array2) );
33 var_dump( array_diff_key($array2, $array1) );
37 *** Testing array_diff_key() : usage variation ***
39 -- 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 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...])
10 echo "*** Testing array_diff_key() : usage variation ***\n";
24 var_dump( array_diff_key($input_array, $value) );
25 var_dump( array_diff_key($value, $input_array) );
30 *** 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 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...])
10 echo "*** Testing array_diff_key() : usage variation ***\n";
28 var_dump( array_diff_key($input_array, $value) );
29 var_dump( array_diff_key($value, $input_array) );
34 *** Testing array_diff_key() : usage variation ***
H A Darray_diff_key_basic.phpt2 Test array_diff_key() : basic functionality
6 * proto array array_diff_key(array arr1, array arr2 [, array ...])
11 var_dump(array_diff_key($array1, $array2));
H A Darray_diff_uassoc_variation10.phpt17 echo "\n-- Testing array_diff_key() function with float indexed array --\n";
26 -- Testing array_diff_key() function with float indexed array --
H A Darray_diff_uassoc_variation11.phpt17 echo "\n-- Testing array_diff_key() function with float indexed array --\n";
26 -- Testing array_diff_key() function with float indexed array --
/PHP-7.3/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-7.3/ext/standard/
H A Dphp_array.h91 PHP_FUNCTION(array_diff_key);
H A Dbasic_functions.c3393 PHP_FE(array_diff_key, arginfo_array_diff_key)
H A Darray.c5367 PHP_FUNCTION(array_diff_key) argument
/PHP-7.3/
H A DNEWS1598 . Fixed bug #77092 (array_diff_key() - segmentation fault). (Nikita)

Completed in 53 milliseconds