Home
last modified time | relevance | path

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

/PHP-7.3/ext/standard/tests/array/
H A Darray_intersect_uassoc_error.phpt2 Test array_intersect_uassoc() function : error conditions
10 echo "*** Testing array_intersect_uassoc() : error conditions ***\n";
26 //Test array_intersect_uassoc with one more than the expected number of arguments
28 var_dump( array_intersect_uassoc($array1, $array2, 'key_compare_func',$extra_arg) );
32 var_dump( array_intersect_uassoc($array1, $array2) );
33 var_dump( array_intersect_uassoc($array1, $array2, $array3) );
35 // Testing array_intersect_uassoc with no arguments
36 echo "\n-- Testing array_intersect_uassoc() function with no arguments --\n";
37 var_dump( array_intersect_uassoc() );
41 *** Testing array_intersect_uassoc() : error conditions ***
[all …]
H A Darray_intersect_uassoc_variation1.phpt2 Test array_intersect_uassoc() function : usage variation - Passing unexpected values to first argum…
5 /* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_com…
10 echo "*** Testing array_intersect_uassoc() : usage variation ***\n";
105 var_dump( array_intersect_uassoc($value, $array2, 'key_compare_func') );
106 var_dump( array_intersect_uassoc($value, $array2, $array3, 'key_compare_func') );
113 *** Testing array_intersect_uassoc() : usage variation ***
117 Warning: array_intersect_uassoc(): Expected parameter 1 to be an array, int given in %s on line %d
120 Warning: array_intersect_uassoc(): Expected parameter 1 to be an array, int given in %s on line %d
125 Warning: array_intersect_uassoc(): Expected parameter 1 to be an array, int given in %s on line %d
128 Warning: array_intersect_uassoc(): Expected parameter 1 to be an array, int given in %s on line %d
[all …]
H A Darray_intersect_uassoc_variation2.phpt2 Test array_intersect_uassoc() function : usage variation - Passing unexpected values to second argu…
5 /* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_com…
10 echo "*** Testing array_intersect_uassoc() : usage variation ***\n";
105 var_dump( array_intersect_uassoc($array1, $value, 'key_compare_func') );
106 var_dump( array_intersect_uassoc($array1, $value, $array3, 'key_compare_func') );
113 *** Testing array_intersect_uassoc() : usage variation ***
117 Warning: array_intersect_uassoc(): Expected parameter 2 to be an array, int given in %s on line %d
120 Warning: array_intersect_uassoc(): Expected parameter 2 to be an array, int given in %s on line %d
125 Warning: array_intersect_uassoc(): Expected parameter 2 to be an array, int given in %s on line %d
128 Warning: array_intersect_uassoc(): Expected parameter 2 to be an array, int given in %s on line %d
[all …]
H A Darray_intersect_uassoc_variation8.phpt2 Test array_intersect_uassoc() function : usage variation - arrays containing referenced variables
5 /* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_com…
10 echo "*** Testing array_intersect_uassoc() : usage variation ***\n";
18 var_dump( array_intersect_uassoc($array1, $array2, "strcasecmp") );
23 var_dump( array_intersect_uassoc($array1, $array2, "strcasecmp") );
27 echo "\n-- Testing array_intersect_uassoc() function when \$array2 is referencd to \$array1 --\n";
28 var_dump( array_intersect_uassoc($array1, $array2, "strcasecmp") );
32 *** Testing array_intersect_uassoc() : usage variation ***
34 -- Testing array_intersect_uassoc() function with referenced variable $ref_var has value 'a' --
40 -- Testing array_intersect_uassoc() function with referenced variable $ref_var value changed to 10 …
[all …]
H A Darray_intersect_uassoc_variation10.phpt2 Test array_intersect_uassoc() function : usage variation - Passing class/object methods to callback
5 /* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_com…
10 echo "*** Testing array_intersect_uassoc() : usage variation ***\n";
28 echo "\n-- Testing array_intersect_uassoc() function using class with static method as callback --\…
29 var_dump( array_intersect_uassoc($array1, $array2, array('MyClass','static_compare_func')) );
30 var_dump( array_intersect_uassoc($array1, $array2, 'MyClass::static_compare_func'));
32 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --…
34 var_dump( array_intersect_uassoc($array1, $array2, array($obj,'class_compare_func')) );
38 *** Testing array_intersect_uassoc() : usage variation ***
40 -- Testing array_intersect_uassoc() function using class with static method as callback --
[all …]
H A Darray_intersect_uassoc_variation3.phpt2 Test array_intersect_uassoc() function : usage variation - Passing unexpected values to optional th…
5 /* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_com…
10 echo "*** Testing array_intersect_uassoc() : usage variation ***\n";
105 var_dump( array_intersect_uassoc($array1, $array2, $value, 'key_compare_func') );
112 *** Testing array_intersect_uassoc() : usage variation ***
116 Warning: array_intersect_uassoc(): Expected parameter 3 to be an array, int given in %s on line %d
121 Warning: array_intersect_uassoc(): Expected parameter 3 to be an array, int given in %s on line %d
126 Warning: array_intersect_uassoc(): Expected parameter 3 to be an array, int given in %s on line %d
131 Warning: array_intersect_uassoc(): Expected parameter 3 to be an array, int given in %s on line %d
161 Warning: array_intersect_uassoc(): Expected parameter 3 to be an array, null given in %s on line %d
[all …]
H A Darray_intersect_uassoc_variation4.phpt2 Test array_intersect_uassoc() function : usage variation - Passing unexpected values to mandatory t…
5 /* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_com…
10 echo "*** Testing array_intersect_uassoc() : usage variation ***\n";
88 var_dump( array_intersect_uassoc($array1, $array2, $value) );
89 var_dump( array_intersect_uassoc($array1, $array2, $array3, $value) );
96 *** Testing array_intersect_uassoc() : usage variation ***
100 Warning: array_intersect_uassoc() expects parameter 3 to be a valid callback, no array or string gi…
103 Warning: array_intersect_uassoc() expects parameter 4 to be a valid callback, no array or string gi…
108 Warning: array_intersect_uassoc() expects parameter 3 to be a valid callback, no array or string gi…
111 Warning: array_intersect_uassoc() expects parameter 4 to be a valid callback, no array or string gi…
[all …]
H A Darray_intersect_uassoc_variation9.phpt2 Test array_intersect_uassoc() function : usage variation - Passing non-existing function name to ca…
5 /* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_com…
10 echo "*** Testing array_intersect_uassoc() : usage variation ***\n";
17 var_dump( array_intersect_uassoc($array1, $array2, "unknown_function") );
20 var_dump( array_intersect_uassoc($array1, $array2, 'unknown_function') );
23 var_dump( array_intersect_uassoc($array1, $array2, unknown_function) );
27 *** Testing array_intersect_uassoc() : usage variation ***
29 Warning: array_intersect_uassoc() expects parameter 3 to be a valid callback, function 'unknown_fun…
32 Warning: array_intersect_uassoc() expects parameter 3 to be a valid callback, function 'unknown_fun…
37 Warning: array_intersect_uassoc() expects parameter 3 to be a valid callback, function 'unknown_fun…
H A Darray_intersect_uassoc_variation11.phpt2 Test array_intersect_uassoc() function : usage variation - Passing class without string to callback…
5 /* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_com…
10 echo "*** Testing array_intersect_uassoc() : usage variation ***\n";
32 var_dump( array_intersect_uassoc($array1, $array2, $value) );
33 var_dump( array_intersect_uassoc($array1, $array2, $array3, $value) );
37 *** Testing array_intersect_uassoc() : usage variation ***
38 Error: 2 - array_intersect_uassoc() expects parameter 3 to be a valid callback, no array or string …
40 Error: 2 - array_intersect_uassoc() expects parameter 4 to be a valid callback, no array or string …
H A Darray_intersect_uassoc_variation5.phpt2 Test array_intersect_uassoc() function : usage variation - Intersection of integers with floats and…
5 /* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_com…
10 echo "*** Testing array_intersect_uassoc() : usage variation ***\n";
27 var_dump( array_intersect_uassoc($arr_default_int, $arr_float, "key_compare_func") );
30 var_dump( array_intersect_uassoc($arr_default_int, $arr_string, "key_compare_func") );
33 var_dump( array_intersect_uassoc($arr_default_int, $arr_string_float, "key_compare_func") );
37 *** Testing array_intersect_uassoc() : usage variation ***
H A Darray_intersect_uassoc_variation7.phpt2 Test array_intersect_uassoc() function : usage variation - Intersection of strings containing integ…
5 /* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_com…
10 echo "*** Testing array_intersect_uassoc() : usage variation ***\n";
27 var_dump( array_intersect_uassoc($arr1_string_int, $arr2_string_int, "key_compare_func") );
30 var_dump( array_intersect_uassoc($arr1_string_float, $arr2_string_float, "key_compare_func") );
33 var_dump( array_intersect_uassoc($arr1_string_int, $arr2_string_float, "key_compare_func") );
37 *** Testing array_intersect_uassoc() : usage variation ***
H A Darray_intersect_uassoc_variation6.phpt2 Test array_intersect_uassoc() function : usage variation - Intersection of floating points with str…
5 /* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_com…
10 echo "*** Testing array_intersect_uassoc() : usage variation ***\n";
26 var_dump( array_intersect_uassoc($arr_float, $arr_string, "key_compare_func") );
29 var_dump( array_intersect_uassoc($arr_float, $arr_string_float, "key_compare_func") );
33 *** Testing array_intersect_uassoc() : usage variation ***
H A Darray_intersect_uassoc_basic.phpt2 array_intersect_uassoc(): Basic test
6 * array array_intersect_uassoc ( array $array1, array $array2 [, array $..., callback $key_compare_…
17 $result = array_intersect_uassoc($array1, $array2, "key_compare_func");
H A Darray_intersect_ukey_variation10.phpt10 echo "*** Testing array_intersect_uassoc() : usage variation ***\n";
38 *** Testing array_intersect_uassoc() : usage variation ***
H A Darray_intersect_ukey_variation9.phpt32 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --…
54 -- Testing array_intersect_uassoc() function using class with regular method as callback --
/PHP-7.3/ext/standard/
H A Dphp_array.h88 PHP_FUNCTION(array_intersect_uassoc);
H A Dbasic_functions.c3390 PHP_FE(array_intersect_uassoc, arginfo_array_intersect_uassoc)
H A Darray.c4998 PHP_FUNCTION(array_intersect_uassoc) argument

Completed in 51 milliseconds