Home
last modified time | relevance | path

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

/PHP-5.4/ext/standard/tests/array/
H A Darray_diff_key_variation1.phpt5 /* 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(): Argument #1 is not an array in %s on line %d
108 Warning: array_diff_key(): Argument #1 is not an array in %s on line %d
113 Warning: array_diff_key(): Argument #1 is not an array in %s on line %d
116 Warning: array_diff_key(): Argument #1 is not an array in %s on line %d
121 Warning: array_diff_key(): Argument #1 is not an array in %s on line %d
[all …]
H A Darray_diff_key_variation2.phpt5 /* 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(): Argument #2 is not an array in %s on line %d
109 Warning: array_diff_key(): Argument #2 is not an array in %s on line %d
114 Warning: array_diff_key(): Argument #2 is not an array in %s on line %d
117 Warning: array_diff_key(): Argument #2 is not an array in %s on line %d
122 Warning: array_diff_key(): Argument #2 is not an array in %s on line %d
[all …]
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_variation3.phpt5 /* 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(): Argument #3 is not an array in %s on line %d
110 Warning: array_diff_key(): Argument #3 is not an array in %s on line %d
115 Warning: array_diff_key(): Argument #3 is not an array in %s on line %d
120 Warning: array_diff_key(): Argument #3 is not an array in %s on line %d
125 Warning: array_diff_key(): Argument #3 is not an array in %s on line %d
130 Warning: array_diff_key(): Argument #3 is not an array 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.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_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_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-5.4/ext/standard/
H A Dphp_array.h90 PHP_FUNCTION(array_diff_key);
H A Darray.c3677 PHP_FUNCTION(array_diff_key) in PHP_FUNCTION() argument
H A Dbasic_functions.c3329 PHP_FE(array_diff_key, arginfo_array_diff_key)
/PHP-5.4/
H A DNEWS5862 array_uintersect_assoc(), array_diff_key(), array_diff_assoc() and
7911 . array_diff_key() (Andrey)

Completed in 70 milliseconds