Home
last modified time | relevance | path

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

/PHP-5.3/ext/standard/tests/array/
H A Darray_diff_ukey_variation1.phpt10 echo "*** Testing array_diff_ukey() : usage variation ***\n";
101 var_dump( array_diff_ukey($value, $array2, 'key_compare_func') );
109 *** Testing array_diff_ukey() : usage variation ***
113 Warning: array_diff_ukey(): Argument #1 is not an array in %s on line %d
116 Warning: array_diff_ukey(): Argument #1 is not an array in %s on line %d
121 Warning: array_diff_ukey(): Argument #1 is not an array in %s on line %d
124 Warning: array_diff_ukey(): Argument #1 is not an array in %s on line %d
129 Warning: array_diff_ukey(): Argument #1 is not an array in %s on line %d
132 Warning: array_diff_ukey(): Argument #1 is not an array in %s on line %d
137 Warning: array_diff_ukey(): Argument #1 is not an array in %s on line %d
[all …]
H A Darray_diff_ukey_variation2.phpt10 echo "*** Testing array_diff_ukey() : usage variation ***\n";
105 var_dump( array_diff_ukey($array1, $value, 'key_compare_func') );
113 *** Testing array_diff_ukey() : usage variation ***
117 Warning: array_diff_ukey(): Argument #2 is not an array in %s on line %d
120 Warning: array_diff_ukey(): Argument #2 is not an array in %s on line %d
125 Warning: array_diff_ukey(): Argument #2 is not an array in %s on line %d
128 Warning: array_diff_ukey(): Argument #2 is not an array in %s on line %d
133 Warning: array_diff_ukey(): Argument #2 is not an array in %s on line %d
136 Warning: array_diff_ukey(): Argument #2 is not an array in %s on line %d
141 Warning: array_diff_ukey(): Argument #2 is not an array in %s on line %d
[all …]
H A Darray_diff_ukey_error.phpt2 Test array_diff_ukey() function : error conditions
10 echo "*** Testing array_diff_ukey() : error conditions ***\n";
25 //Test array_diff_ukey with one more than the expected number of arguments
27 var_dump( array_diff_ukey($array1, $array2, 'key_compare_func', $extra_arg) );
29 // Testing array_diff_ukey with one less than the expected number of arguments
31 var_dump( array_diff_ukey($array1, $array2) );
33 // Testing array_diff_ukey with one less than the expected number of arguments
34 echo "\n-- Testing array_diff_ukey() function with no arguments --\n";
35 var_dump( array_diff_ukey() );
39 *** Testing array_diff_ukey() : error conditions ***
[all …]
H A Darray_diff_ukey_variation3.phpt10 echo "*** Testing array_diff_ukey() : usage variation ***\n";
109 *** Testing array_diff_ukey() : usage variation ***
113 Warning: array_diff_ukey(): Argument #3 is not an array in %s on line %d
118 Warning: array_diff_ukey(): Argument #3 is not an array in %s on line %d
123 Warning: array_diff_ukey(): Argument #3 is not an array in %s on line %d
128 Warning: array_diff_ukey(): Argument #3 is not an array in %s on line %d
133 Warning: array_diff_ukey(): Argument #3 is not an array in %s on line %d
138 Warning: array_diff_ukey(): Argument #3 is not an array in %s on line %d
143 Warning: array_diff_ukey(): Argument #3 is not an array in %s on line %d
148 Warning: array_diff_ukey(): Argument #3 is not an array in %s on line %d
[all …]
H A Darray_diff_ukey_variation4.phpt2 Test array_diff_ukey() function : usage variation - Passing unexpected values to callback argument
5 /* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func)
10 echo "*** Testing array_diff_ukey() : usage variation ***\n";
85 var_dump( array_diff_ukey($array1, $array2, $value) );
86 var_dump( array_diff_ukey($array1, $array2, $array3, $value) );
93 *** Testing array_diff_ukey() : usage variation ***
97 Warning: array_diff_ukey() expects parameter 3 to be a valid callback, no array or string given in …
100 Warning: array_diff_ukey() expects parameter 4 to be a valid callback, no array or string given in …
105 Warning: array_diff_ukey() expects parameter 3 to be a valid callback, no array or string given in …
108 Warning: array_diff_ukey() expects parameter 4 to be a valid callback, no array or string given in …
[all …]
H A Darray_diff_ukey_variation7.phpt2 Test array_diff_ukey() function : usage variation - Passing float indexed array
5 /* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func)
10 echo "*** Testing array_diff_ukey() : usage variation ***\n";
21 echo "\n-- Testing array_diff_ukey() function with float indexed array --\n";
23 var_dump( array_diff_ukey($float_indx_array, $input_array, 'key_compare_func') );
24 var_dump( array_diff_ukey($input_array, $float_indx_array, 'key_compare_func') );
29 *** Testing array_diff_ukey() : usage variation ***
31 -- Testing array_diff_ukey() function with float indexed array --
H A Darray_diff_ukey_variation8.phpt2 Test array_diff_ukey() function : usage variation - Passing boolean indexed array
5 /* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func)
10 echo "*** Testing array_diff_ukey() : usage variation ***\n";
21 echo "\n-- Testing array_diff_ukey() function with boolean indexed array --\n";
23 var_dump( array_diff_ukey($boolean_indx_array, $input_array, 'key_compare_func') );
24 var_dump( array_diff_ukey($input_array, $boolean_indx_array, 'key_compare_func') );
29 *** Testing array_diff_ukey() : usage variation ***
31 -- Testing array_diff_ukey() function with boolean indexed array --
H A Darray_diff_ukey_variation10.phpt2 Test array_diff_ukey() function : usage variation - Passing non-existing function name to callback
5 /* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func)
10 echo "*** Testing array_diff_ukey() : usage variation ***\n";
17 var_dump( array_diff_ukey($array1, $array1, "unknown_function") );
20 var_dump( array_diff_ukey($array1, $array1, 'unknown_function') );
23 var_dump( array_diff_ukey($array1, $array1, unknown_function) );
28 *** Testing array_diff_ukey() : usage variation ***
30 Warning: array_diff_ukey() expects parameter 3 to be a valid callback, function 'unknown_function' …
33 Warning: array_diff_ukey() expects parameter 3 to be a valid callback, function 'unknown_function' …
38 Warning: array_diff_ukey() expects parameter 3 to be a valid callback, function 'unknown_function' …
H A Darray_diff_ukey_variation5.phpt2 Test array_diff_ukey() function : usage variation - Passing multi-dimensional array
5 /* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func)
10 echo "*** Testing array_diff_ukey() : usage variation ***\n";
31 echo "\n-- Testing array_diff_ukey() function with multi dimensional array --\n";
32 var_dump( array_diff_ukey($array1, $array2, 'strcasecmp') );
33 var_dump( array_diff_ukey($array2, $array1, 'strcasecmp') );
37 *** Testing array_diff_ukey() : usage variation ***
39 -- Testing array_diff_ukey() function with multi dimensional array --
H A Darray_diff_ukey_variation11.phpt2 Test array_diff_ukey() function : usage variation - Passing class without string to callback (Handl…
5 /* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func)
10 echo "*** Testing array_diff_ukey() : usage variation ***\n";
33 var_dump( array_diff_ukey($array1, $array2, $value) );
34 var_dump( array_diff_ukey($array1, $array2, $array3, $value) );
39 *** Testing array_diff_ukey() : usage variation ***
40 Error: 2 - array_diff_ukey() expects parameter 3 to be a valid callback, no array or string given, …
42 Error: 2 - array_diff_ukey() expects parameter 4 to be a valid callback, no array or string given, …
H A Darray_diff_key.phpt2 Test of the array_diff_key() and array_diff_ukey()
22 var_dump(array_diff_ukey($a_f, $b_f, "comp_func"));// 1, 6, 15, 1200
26 var_dump(array_diff_ukey($a_f, $c_f, "comp_func"));// 1, 15, 1200
30 var_dump(array_diff_ukey($a_f, $d_f, "comp_func"));// 1, 6, 2, 15, 1200, -2500
34 var_dump(array_diff_ukey($a_f, $b_f, $c_f, "comp_func"));// 1, 15, 1200
38 var_dump(array_diff_ukey($a_f, $b_f, $d_f, "comp_func"));// 1, 6, 15, 1200
43 var_dump(array_diff_ukey($a_f, $b_f, $c_f, $d_f, "comp_func"));//1, 15, 1200
48 var_dump(array_diff_ukey($b_f, $c_f, "comp_func"));//7, 11, 1100
52 var_dump(array_diff_ukey($b_f, $d_f, "comp_func"));//0, 7, 2, 11, 1100, -2500
57 var_dump(array_diff_ukey($b_f, $c_f, $d_f, "comp_func"));// 7, 11, 1000
H A Darray_diff_ukey_variation6.phpt2 Test array_diff_ukey() function : usage variation - Passing integer indexed array
5 /* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func)
10 echo "*** Testing array_diff_ukey() : usage variation ***\n";
28 var_dump( array_diff_ukey($value, $input_array, 'key_compare_func') );
29 var_dump( array_diff_ukey($input_array, $value, 'key_compare_func') );
34 *** Testing array_diff_ukey() : usage variation ***
H A Darray_diff_ukey_variation9.phpt2 Test array_diff_ukey() function : usage variation - Passing null,unset and undefined variable index…
5 /* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func)
10 echo "*** Testing array_diff_ukey() : usage variation ***\n";
27 var_dump( array_diff_ukey($value, $input_array, 'strcasecmp') );
28 var_dump( array_diff_ukey($input_array, $value, 'strcasecmp') );
34 *** Testing array_diff_ukey() : usage variation ***
H A Darray_diff_ukey_basic.phpt2 array_diff_ukey() : Basic test.
6 * proto array array_diff_ukey ( array $array1, array $array2 [, array $ ..., callback $key_compare_…
16 var_dump(array_diff_ukey($array1, $array2, 'key_compare_func'));
/PHP-5.3/ext/standard/
H A Dphp_array.h91 PHP_FUNCTION(array_diff_ukey);
H A Darray.c3675 PHP_FUNCTION(array_diff_ukey) in PHP_FUNCTION() argument
H A Dbasic_functions.c3319 PHP_FE(array_diff_ukey, arginfo_array_diff_ukey)
/PHP-5.3/
H A DNEWS6051 . array_diff_ukey() (Andrey)

Completed in 55 milliseconds