Home
last modified time | relevance | path

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

/PHP-5.6/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.phpt10 echo "*** Testing array_intersect_uassoc() : usage variation ***\n";
105 var_dump( array_intersect_uassoc($value, $array2, 'key_compare_func') );
114 *** Testing array_intersect_uassoc() : usage variation ***
118 Warning: array_intersect_uassoc(): Argument #1 is not an array in %s on line %d
121 Warning: array_intersect_uassoc(): Argument #1 is not an array in %s on line %d
126 Warning: array_intersect_uassoc(): Argument #1 is not an array in %s on line %d
129 Warning: array_intersect_uassoc(): Argument #1 is not an array in %s on line %d
134 Warning: array_intersect_uassoc(): Argument #1 is not an array in %s on line %d
137 Warning: array_intersect_uassoc(): Argument #1 is not an array in %s on line %d
142 Warning: array_intersect_uassoc(): Argument #1 is not an array in %s on line %d
[all …]
H A Darray_intersect_uassoc_variation2.phpt10 echo "*** Testing array_intersect_uassoc() : usage variation ***\n";
105 var_dump( array_intersect_uassoc($array1, $value, 'key_compare_func') );
114 *** Testing array_intersect_uassoc() : usage variation ***
118 Warning: array_intersect_uassoc(): Argument #2 is not an array in %s on line %d
121 Warning: array_intersect_uassoc(): Argument #2 is not an array in %s on line %d
126 Warning: array_intersect_uassoc(): Argument #2 is not an array in %s on line %d
129 Warning: array_intersect_uassoc(): Argument #2 is not an array in %s on line %d
134 Warning: array_intersect_uassoc(): Argument #2 is not an array in %s on line %d
137 Warning: array_intersect_uassoc(): Argument #2 is not an array in %s on line %d
142 Warning: array_intersect_uassoc(): Argument #2 is not an array 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_variation3.phpt10 echo "*** Testing array_intersect_uassoc() : usage variation ***\n";
113 *** Testing array_intersect_uassoc() : usage variation ***
117 Warning: array_intersect_uassoc(): Argument #3 is not an array in %s on line %d
122 Warning: array_intersect_uassoc(): Argument #3 is not an array in %s on line %d
127 Warning: array_intersect_uassoc(): Argument #3 is not an array in %s on line %d
132 Warning: array_intersect_uassoc(): Argument #3 is not an array in %s on line %d
137 Warning: array_intersect_uassoc(): Argument #3 is not an array in %s on line %d
142 Warning: array_intersect_uassoc(): Argument #3 is not an array in %s on line %d
147 Warning: array_intersect_uassoc(): Argument #3 is not an array in %s on line %d
152 Warning: array_intersect_uassoc(): Argument #3 is not an array in %s on line %d
[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_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_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_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_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-5.6/ext/standard/
H A Dphp_array.h88 PHP_FUNCTION(array_intersect_uassoc);
H A Darray.c3218 PHP_FUNCTION(array_intersect_uassoc) in PHP_FUNCTION() argument
H A Dbasic_functions.c3319 PHP_FE(array_intersect_uassoc, arginfo_array_intersect_uassoc)

Completed in 100 milliseconds