Home
last modified time | relevance | path

Searched refs:array_udiff (Results 1 – 14 of 14) sorted by relevance

/PHP-7.3/ext/standard/tests/array/
H A Darray_udiff_error.phpt2 Test array_udiff() function : error conditions
5 /* Prototype : array array_udiff(array arr1, array arr2 [, array ...], callback data_comp_func)
11 echo "*** Testing array_udiff() : error conditions ***\n";
20 //Test array_udiff with one more than the expected number of arguments
21 echo "\n-- Testing array_udiff() function with more than expected no. of arguments --\n";
22 var_dump( array_udiff($arr1, $arr2, $data_comp_func, $extra_arg) );
24 // Testing array_udiff with one less than the expected number of arguments
26 var_dump( array_udiff($arr1, $arr2) );
31 *** Testing array_udiff() : error conditions ***
33 -- Testing array_udiff() function with more than expected no. of arguments --
[all …]
H A Darray_udiff_variation1.phpt2 Test array_udiff() function : usage variation
5 /* Prototype : array array_udiff(array arr1, array arr2 [, array ...], callback data_comp_func)
11 echo "*** Testing array_udiff() : usage variation ***\n";
95 var_dump( array_udiff($value, $arr2, $data_comp_func) );
101 *** Testing array_udiff() : usage variation ***
105 Warning: array_udiff(): Expected parameter 1 to be an array, int given in %sarray_udiff_variation1.…
110 Warning: array_udiff(): Expected parameter 1 to be an array, int given in %sarray_udiff_variation1.…
115 Warning: array_udiff(): Expected parameter 1 to be an array, int given in %sarray_udiff_variation1.…
120 Warning: array_udiff(): Expected parameter 1 to be an array, int given in %sarray_udiff_variation1.…
150 Warning: array_udiff(): Expected parameter 1 to be an array, null given in %sarray_udiff_variation1…
[all …]
H A Darray_udiff_variation2.phpt2 Test array_udiff() function : usage variation
5 /* Prototype : array array_udiff(array arr1, array arr2 [, array ...], callback data_comp_func)
11 echo "*** Testing array_udiff() : usage variation ***\n";
95 var_dump( array_udiff($arr1, $value, $data_comp_func) );
101 *** Testing array_udiff() : usage variation ***
105 Warning: array_udiff(): Expected parameter 2 to be an array, int given in %sarray_udiff_variation2.…
110 Warning: array_udiff(): Expected parameter 2 to be an array, int given in %sarray_udiff_variation2.…
115 Warning: array_udiff(): Expected parameter 2 to be an array, int given in %sarray_udiff_variation2.…
120 Warning: array_udiff(): Expected parameter 2 to be an array, int given in %sarray_udiff_variation2.…
150 Warning: array_udiff(): Expected parameter 2 to be an array, null given in %sarray_udiff_variation2…
[all …]
H A Darray_udiff_variation4.phpt2 Test array_udiff() function : usage variation
5 /* Prototype : array array_udiff(array arr1, array arr2 [, array ...], callback data_comp_func)
11 echo "*** Testing array_udiff() : usage variation ***\n";
96 var_dump( array_udiff($arr1, $arr2, $value, $data_comp_func) );
102 *** Testing array_udiff() : usage variation ***
106 Warning: array_udiff(): Expected parameter 3 to be an array, int given in %sarray_udiff_variation4.…
111 Warning: array_udiff(): Expected parameter 3 to be an array, int given in %sarray_udiff_variation4.…
116 Warning: array_udiff(): Expected parameter 3 to be an array, int given in %sarray_udiff_variation4.…
121 Warning: array_udiff(): Expected parameter 3 to be an array, int given in %sarray_udiff_variation4.…
151 Warning: array_udiff(): Expected parameter 3 to be an array, null given in %sarray_udiff_variation4…
[all …]
H A Darray_udiff_variation3.phpt2 Test array_udiff() function : usage variation
5 /* Prototype : array array_udiff(array arr1, array arr2 [, array ...], callback data_comp_func)
11 echo "*** Testing array_udiff() : usage variation ***\n";
99 var_dump( array_udiff($arr1, $arr2, $value) );
105 *** Testing array_udiff() : usage variation ***
109 Warning: array_udiff() expects parameter 3 to be a valid callback, no array or string given in %sar…
114 Warning: array_udiff() expects parameter 3 to be a valid callback, no array or string given in %sar…
119 Warning: array_udiff() expects parameter 3 to be a valid callback, no array or string given in %sar…
124 Warning: array_udiff() expects parameter 3 to be a valid callback, no array or string given in %sar…
129 Warning: array_udiff() expects parameter 3 to be a valid callback, no array or string given in %sar…
[all …]
H A Darray_udiff_variation5.phpt2 Test array_udiff() function : usage variation
5 /* Prototype : array array_udiff(array arr1, array arr2 [, array ...], callback data_comp_func)
11 echo "*** Testing array_udiff() : usage variation ***\n";
21 var_dump(array_udiff($arr1, $arr2, 'incorrect_return_value'));
28 var_dump(array_udiff($arr1, $arr2, 'too_many_parameters'));
37 var_dump(array_udiff($arr1, $arr2, 'too_few_parameters'));
42 *** Testing array_udiff() : usage variation ***
H A Darray_udiff_basic.phpt2 array_udiff():Test return type and value for expected input
6 * proto array array_udiff ( array $array1, array $array2 [, array $ ..., callback $data_compare_fun…
21 $result = array_udiff($a, $b, array("cr", "comp_func_cr"));
H A D007.phpt87 var_dump(array_udiff($a, $b, $c, "comp_func"));
94 var_dump(array_udiff($a, $b, "comp_func_cr"));
113 echo 'var_dump(array_udiff($a, $b, "comp_func_cr"));'."\n";
114 var_dump(array_udiff($a, $b, "comp_func_cr"));
459 var_dump(array_udiff($a, $b, "comp_func_cr"));
H A Dbug28739.phpt18 print_r(array_udiff($p1,$p2, 'b'));
H A Darray_diff_ukey_variation5.phpt6 …upplied function is used for comparing the keys. This function is like array_udiff() but works on …
H A Darray_diff_ukey_variation11.phpt6 …upplied function is used for comparing the keys. This function is like array_udiff() but works on …
/PHP-7.3/ext/standard/
H A Dphp_array.h93 PHP_FUNCTION(array_udiff);
H A Dbasic_functions.c3395 PHP_FE(array_udiff, arginfo_array_udiff)
H A Darray.c5515 PHP_FUNCTION(array_udiff) argument

Completed in 37 milliseconds