Home
last modified time | relevance | path

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

/PHP-5.4/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(): Argument #1 is not an array in %sarray_udiff_variation1.php on line %d
110 Warning: array_udiff(): Argument #1 is not an array in %sarray_udiff_variation1.php on line %d
115 Warning: array_udiff(): Argument #1 is not an array in %sarray_udiff_variation1.php on line %d
120 Warning: array_udiff(): Argument #1 is not an array in %sarray_udiff_variation1.php on line %d
125 Warning: array_udiff(): Argument #1 is not an array in %sarray_udiff_variation1.php on line %d
[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(): Argument #2 is not an array in %sarray_udiff_variation2.php on line %d
110 Warning: array_udiff(): Argument #2 is not an array in %sarray_udiff_variation2.php on line %d
115 Warning: array_udiff(): Argument #2 is not an array in %sarray_udiff_variation2.php on line %d
120 Warning: array_udiff(): Argument #2 is not an array in %sarray_udiff_variation2.php on line %d
125 Warning: array_udiff(): Argument #2 is not an array in %sarray_udiff_variation2.php on line %d
[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(): Argument #3 is not an array in %sarray_udiff_variation4.php on line %d
111 Warning: array_udiff(): Argument #3 is not an array in %sarray_udiff_variation4.php on line %d
116 Warning: array_udiff(): Argument #3 is not an array in %sarray_udiff_variation4.php on line %d
121 Warning: array_udiff(): Argument #3 is not an array in %sarray_udiff_variation4.php on line %d
126 Warning: array_udiff(): Argument #3 is not an array in %sarray_udiff_variation4.php on line %d
[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'));
27 var_dump(array_udiff($arr1, $arr2, 'too_many_parameters'));
33 var_dump(array_udiff($arr1, $arr2, 'too_few_parameters'));
38 *** 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-5.4/ext/standard/
H A Dphp_array.h92 PHP_FUNCTION(array_udiff);
H A Darray.c3701 PHP_FUNCTION(array_udiff) in PHP_FUNCTION() argument
H A Dbasic_functions.c3331 PHP_FE(array_udiff, arginfo_array_udiff)

Completed in 42 milliseconds