Searched refs:array_intersect_assoc (Results 1 – 15 of 15) sorted by relevance
/php-src/ext/standard/tests/array/ |
H A D | array_intersect_assoc_variation2.phpt | 92 // Calling array_intersect_assoc() with default arguments 94 var_dump( array_intersect_assoc($array1,$unexpected_value) ); 99 // Calling array_intersect_assoc() with more arguments 118 array_intersect_assoc(): Argument #2 must be of type array, int given 121 array_intersect_assoc(): Argument #2 must be of type array, int given 124 array_intersect_assoc(): Argument #2 must be of type array, int given 127 array_intersect_assoc(): Argument #2 must be of type array, int given 145 array_intersect_assoc(): Argument #2 must be of type array, null given 148 array_intersect_assoc(): Argument #2 must be of type array, null given 151 array_intersect_assoc(): Argument #2 must be of type array, true given [all …]
|
H A D | array_intersect_assoc_variation1.phpt | 92 // Calling array_intersect_assoc() with default arguments 94 var_dump( array_intersect_assoc($unexpected_value, $array2) ); 99 // Calling array_intersect_assoc() with more arguments 101 var_dump( array_intersect_assoc($unexpected_value, $array2, $arr3) ); 117 array_intersect_assoc(): Argument #1 ($array) must be of type array, int given 120 array_intersect_assoc(): Argument #1 ($array) must be of type array, int given 123 array_intersect_assoc(): Argument #1 ($array) must be of type array, int given 126 array_intersect_assoc(): Argument #1 ($array) must be of type array, int given 144 array_intersect_assoc(): Argument #1 ($array) must be of type array, null given 147 array_intersect_assoc(): Argument #1 ($array) must be of type array, null given [all …]
|
H A D | array_intersect_assoc_basic.phpt | 2 Test array_intersect_assoc() function : basic functionality 6 * Testing the behavior of array_intersect_assoc() by passing different arrays for the arguments. 10 echo "*** Testing array_intersect_assoc() : basic functionality ***\n"; 19 var_dump( array_intersect_assoc($arr_default_keys, $arr_default_keys) ); 22 var_dump( array_intersect_assoc($arr_default_keys, $arr_associative) ); 25 var_dump( array_intersect_assoc($arr_associative, $arr_default_keys) ); 28 var_dump( array_intersect_assoc($arr_associative, $arr_associative) ); 32 var_dump( array_intersect_assoc($arr_default_keys, $arr_associative, $arr3) ); 33 var_dump( array_intersect_assoc($arr_associative, $arr_default_keys, $arr3, $arr_associative) ); 38 *** Testing array_intersect_assoc() : basic functionality ***
|
H A D | array_intersect_assoc_variation10.phpt | 2 Test array_intersect_assoc() function : usage variations - binary safe checking 6 * Testing the behavior of array_intersect_assoc() by passing array with 10 echo "*** Testing array_intersect_assoc() : binary safe checking ***\n"; 18 var_dump( array_intersect_assoc($arr_binary, $arr_normal) ); 21 var_dump( array_intersect_assoc($arr_normal, $arr_binary) ); 24 var_dump( array_intersect_assoc($arr_binary, $arr_binary) ); 29 *** Testing array_intersect_assoc() : binary safe checking ***
|
H A D | 008.phpt | 17 echo 'array_intersect_assoc($a,$b,$c);'."\n"; 18 var_dump(array_intersect_assoc($a,$b,$c)); 23 echo 'array_intersect_assoc($a,$b);'."\n"; 24 var_dump(array_intersect_assoc($a,$b)); 76 var_dump(array_intersect_assoc($a,$b,$c)); 81 echo 'array_intersect_assoc($a,$b);'."\n"; 82 var_dump(array_intersect_assoc($a,$b)); 150 array_intersect_assoc($a,$b,$c); 188 array_intersect_assoc($a,$b); 268 array_intersect_assoc($a,$b,$c); [all …]
|
H A D | array_intersect_assoc_variation9.phpt | 2 Test array_intersect_assoc() function : usage variations - two dimensional arrays for $arr1 and $ar… 6 * Testing the behavior of array_intersect_assoc() by passing 2-D arrays 31 // Calling array_intersect_assoc() with default arguments 34 var_dump( array_intersect_assoc($arr1, $arr2) ); 36 // Calling array_intersect_assoc() with more arguments 39 var_dump( array_intersect_assoc($arr1, $arr2, $arr1) ); 42 // Calling array_intersect_assoc() with default arguments 45 var_dump( array_intersect_assoc($arr1[0], $arr2[0]) ); 47 // Calling array_intersect_assoc() with more arguments 50 var_dump( array_intersect_assoc($arr1[0], $arr2[0], $arr1[0]) ); [all …]
|
H A D | array_intersect_assoc_variation6.phpt | 2 Test array_intersect_assoc() function : usage variations - assoc array with diff keys for 'arr2' ar… 6 * Testing the functionality of array_intersect_assoc() by passing different 11 echo "*** Testing array_intersect_assoc() : assoc array with diff keys to \$arr2 argument ***\n"; 54 // loop through each sub-array within $arrays to check the behavior of array_intersect_assoc() 59 // Calling array_intersect_assoc() with default arguments 60 var_dump( array_intersect_assoc($arr1, $arr2) ); 62 // Calling array_intersect_assoc() with more arguments. 64 var_dump( array_intersect_assoc($arr1, $arr2, $arr1) ); 71 *** Testing array_intersect_assoc() : assoc array with diff keys to $arr2 argument ***
|
H A D | array_intersect_assoc_variation5.phpt | 2 Test array_intersect_assoc() function : usage variations - assoc array with diff keys for 'arr1' ar… 6 * Testing the functionality of array_intersect_assoc() by passing different 11 echo "*** Testing array_intersect_assoc() : assoc array with diff keys to \$arr1 argument ***\n"; 54 // loop through each sub-array within $arrays to check the behavior of array_intersect_assoc() 59 // Calling array_intersect_assoc() with default arguments 60 var_dump( array_intersect_assoc($arr1, $arr2) ); 62 // Calling array_intersect_assoc() with more arguments. 64 var_dump( array_intersect_assoc($arr1, $arr2, $arr1) ); 71 *** Testing array_intersect_assoc() : assoc array with diff keys to $arr1 argument ***
|
H A D | array_intersect_assoc_variation7.phpt | 2 Test array_intersect_assoc() function : usage variations - assoc array with diff values for 'arr1' … 6 * Testing the functionality of array_intersect_assoc() by passing different 11 echo "*** Testing array_intersect_assoc() : assoc array with diff values to \$arr1 argument ***\n"; 68 // loop through each sub-array within $arrays to check the behavior of array_intersect_assoc() 73 // Calling array_intersect_assoc() with default arguments 74 var_dump( array_intersect_assoc($arr1, $arr2) ); 76 // Calling array_intersect_assoc() with more arguments. 78 var_dump( array_intersect_assoc($arr1, $arr2, $arr1) ); 88 *** Testing array_intersect_assoc() : assoc array with diff values to $arr1 argument ***
|
H A D | array_intersect_assoc_variation8.phpt | 2 Test array_intersect_assoc() function : usage variations - assoc array with diff values for 'arr2' … 6 * Testing the functionality of array_intersect_assoc() by passing different 11 echo "*** Testing array_intersect_assoc() : assoc array with diff values to \$arr2 argument ***\n"; 68 // loop through each sub-array within $arrays to check the behavior of array_intersect_assoc() 73 // Calling array_intersect_assoc() with default arguments 74 var_dump( array_intersect_assoc($arr1, $arr2) ); 76 // Calling array_intersect_assoc() with more arguments. 78 var_dump( array_intersect_assoc($arr1, $arr2, $arr1) ); 88 *** Testing array_intersect_assoc() : assoc array with diff values to $arr2 argument ***
|
H A D | array_intersect_assoc_variation3.phpt | 2 Test array_intersect_assoc() function : usage variations - different arrays for 'arr1' argument 7 * array_intersect_assoc() behaves in an expected way with the other arguments passed to the function 11 echo "*** Testing array_intersect_assoc() : Passing different types of arrays to \$arr1 argument **… 82 // loop through each sub-array within $arrays to check the behavior of array_intersect_assoc() 87 // Calling array_intersect_assoc() with default arguments 88 var_dump( array_intersect_assoc($arr1, $arr2) ); 90 // Calling array_intersect_assoc() with more arguments. 92 var_dump( array_intersect_assoc($arr1, $arr2, $arr1) ); 99 *** Testing array_intersect_assoc() : Passing different types of arrays to $arr1 argument ***
|
H A D | array_intersect_assoc_variation4.phpt | 2 Test array_intersect_assoc() function : usage variations - different arrays for 'arr2' argument 7 * array_intersect_assoc() behaves in an expected way with the other arguments passed to the functio… 11 echo "*** Testing array_intersect_assoc() : Passing different types of arrays to \$arr2 argument **… 81 // loop through each sub-array within $arrays to check the behavior of array_intersect_assoc() 86 // Calling array_intersect_assoc() with default arguments 87 var_dump( array_intersect_assoc($arr1, $arr2) ); 89 // Calling array_intersect_assoc() with more arguments 91 var_dump( array_intersect_assoc($arr1, $arr2, $arr1) ); 98 *** Testing array_intersect_assoc() : Passing different types of arrays to $arr2 argument ***
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 1788 function array_intersect_assoc(array $array, array ...$arrays): array {} function
|
H A D | basic_functions_arginfo.h | 2365 ZEND_FUNCTION(array_intersect_assoc);
|
H A D | array.c | 5435 PHP_FUNCTION(array_intersect_assoc) argument
|
Completed in 55 milliseconds