Searched refs:array_intersect_assoc (Results 1 – 16 of 16) sorted by relevance
/PHP-7.2/ext/standard/tests/array/ |
H A D | array_intersect_assoc_variation1.phpt | 5 /* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) 98 // Calling array_intersect_assoc() with default arguments 99 var_dump( array_intersect_assoc($unexpected_value, $arr2) ); 101 // Calling array_intersect_assoc() with more arguments 102 var_dump( array_intersect_assoc($unexpected_value, $arr2, $arr3) ); 115 Warning: array_intersect_assoc(): Argument #1 is not an array in %s on line %d 118 Warning: array_intersect_assoc(): Argument #1 is not an array in %s on line %d 122 Warning: array_intersect_assoc(): Argument #1 is not an array in %s on line %d 125 Warning: array_intersect_assoc(): Argument #1 is not an array in %s on line %d 129 Warning: array_intersect_assoc(): Argument #1 is not an array in %s on line %d [all …]
|
H A D | array_intersect_assoc_variation2.phpt | 5 /* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) 98 // Calling array_intersect_assoc() with default arguments 99 var_dump( array_intersect_assoc($arr1,$unexpected_value) ); 101 // Calling array_intersect_assoc() with more arguments 102 var_dump( array_intersect_assoc($arr1, $unexpected_value, $arr3) ); 116 Warning: array_intersect_assoc(): Argument #2 is not an array in %s on line %d 119 Warning: array_intersect_assoc(): Argument #2 is not an array in %s on line %d 123 Warning: array_intersect_assoc(): Argument #2 is not an array in %s on line %d 126 Warning: array_intersect_assoc(): Argument #2 is not an array in %s on line %d 130 Warning: array_intersect_assoc(): Argument #2 is not an array in %s on line %d [all …]
|
H A D | array_intersect_assoc_error.phpt | 2 Test array_intersect_assoc() function : error conditions(Bug#43197) 5 /* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) 11 echo "*** Testing array_intersect_assoc() : error conditions ***\n"; 14 echo "\n-- Testing array_intersect_assoc() function with Zero arguments --\n"; 15 var_dump( array_intersect_assoc() ); 17 // Testing array_intersect_assoc with one less than the expected number of arguments 20 var_dump( array_intersect_assoc($arr1) ); 25 *** Testing array_intersect_assoc() : error conditions *** 27 -- Testing array_intersect_assoc() function with Zero arguments -- 29 Warning: array_intersect_assoc(): at least 2 parameters are required, 0 given in %s on line %d [all …]
|
H A D | array_intersect_assoc_basic.phpt | 2 Test array_intersect_assoc() function : basic functionality 5 /* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) 12 * Testing the behavior of array_intersect_assoc() by passing different arrays for the arguments. 16 echo "*** Testing array_intersect_assoc() : basic functionality ***\n"; 25 var_dump( array_intersect_assoc($arr_default_keys, $arr_default_keys) ); 28 var_dump( array_intersect_assoc($arr_default_keys, $arr_associative) ); 31 var_dump( array_intersect_assoc($arr_associative, $arr_default_keys) ); 34 var_dump( array_intersect_assoc($arr_associative, $arr_associative) ); 38 var_dump( array_intersect_assoc($arr_default_keys, $arr_associative, $arr3) ); 39 var_dump( array_intersect_assoc($arr_associative, $arr_default_keys, $arr3, $arr_associative) ); [all …]
|
H A D | array_intersect_assoc_variation10.phpt | 2 Test array_intersect_assoc() function : usage variations - binary safe checking 5 /* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) 12 * Testing the behavior of array_intersect_assoc() by passing array with 16 echo "*** Testing array_intersect_assoc() : binary safe checking ***\n"; 24 var_dump( array_intersect_assoc($arr_binary, $arr_normal) ); 27 var_dump( array_intersect_assoc($arr_normal, $arr_binary) ); 30 var_dump( array_intersect_assoc($arr_binary, $arr_binary) ); 35 *** 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_variation6.phpt | 2 Test array_intersect_assoc() function : usage variations - assoc array with diff keys for 'arr2' ar… 5 /* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) 12 * Testing the functionality of array_intersect_assoc() by passing different 17 echo "*** Testing array_intersect_assoc() : assoc array with diff keys to \$arr2 argument ***\n"; 66 // loop through each sub-array within $arrrays to check the behavior of array_intersect_assoc() 71 // Calling array_intersect_assoc() with default arguments 72 var_dump( array_intersect_assoc($arr1, $arr2) ); 74 // Calling array_intersect_assoc() with more arguments. 76 var_dump( array_intersect_assoc($arr1, $arr2, $arr1) ); 83 *** Testing array_intersect_assoc() : assoc array with diff keys to $arr2 argument ***
|
H A D | array_intersect_assoc_variation9.phpt | 2 Test array_intersect_assoc() function : usage variations - two dimensional arrays for $arr1 and $ar… 5 /* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) 12 * Testing the behavior of array_intersect_assoc() by passing 2-D arrays 37 // Calling array_intersect_assoc() with default arguments 40 var_dump( array_intersect_assoc($arr1, $arr2) ); 42 // Calling array_intersect_assoc() with more arguments 45 var_dump( array_intersect_assoc($arr1, $arr2, $arr1) ); 48 // Calling array_intersect_assoc() with default arguments 51 var_dump( array_intersect_assoc($arr1[0], $arr2[0]) ); 53 // Calling array_intersect_assoc() with more arguments [all …]
|
H A D | array_intersect_assoc_variation5.phpt | 2 Test array_intersect_assoc() function : usage variations - assoc array with diff keys for 'arr1' ar… 5 /* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) 12 * Testing the functionality of array_intersect_assoc() by passing different 17 echo "*** Testing array_intersect_assoc() : assoc array with diff keys to \$arr1 argument ***\n"; 66 // loop through each sub-array within $arrrays to check the behavior of array_intersect_assoc() 71 // Calling array_intersect_assoc() with default arguments 72 var_dump( array_intersect_assoc($arr1, $arr2) ); 74 // Calling array_intersect_assoc() with more arguments. 76 var_dump( array_intersect_assoc($arr1, $arr2, $arr1) ); 83 *** 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' … 5 /* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) 12 * Testing the functionality of array_intersect_assoc() by passing different 17 echo "*** Testing array_intersect_assoc() : assoc array with diff values to \$arr1 argument ***\n"; 74 // loop through each sub-array within $arrrays to check the behavior of array_intersect_assoc() 79 // Calling array_intersect_assoc() with default arguments 80 var_dump( array_intersect_assoc($arr1, $arr2) ); 82 // Calling array_intersect_assoc() with more arguments. 84 var_dump( array_intersect_assoc($arr1, $arr2, $arr1) ); 94 *** 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' … 5 /* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) 12 * Testing the functionality of array_intersect_assoc() by passing different 17 echo "*** Testing array_intersect_assoc() : assoc array with diff values to \$arr2 argument ***\n"; 74 // loop through each sub-array within $arrrays to check the behavior of array_intersect_assoc() 79 // Calling array_intersect_assoc() with default arguments 80 var_dump( array_intersect_assoc($arr1, $arr2) ); 82 // Calling array_intersect_assoc() with more arguments. 84 var_dump( array_intersect_assoc($arr1, $arr2, $arr1) ); 94 *** 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 5 /* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) 13 * array_intersect_assoc() behaves in an expected way with the other arguments passed to the function 17 echo "*** Testing array_intersect_assoc() : Passing different types of arrays to \$arr1 argument **… 88 // loop through each sub-array within $arrrays to check the behavior of array_intersect_assoc() 93 // Calling array_intersect_assoc() with default arguments 94 var_dump( array_intersect_assoc($arr1, $arr2) ); 96 // Calling array_intersect_assoc() with more arguments. 98 var_dump( array_intersect_assoc($arr1, $arr2, $arr1) ); 105 *** 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 5 /* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) 13 * array_intersect_assoc() behaves in an expected way with the other arguments passed to the functio… 17 echo "*** Testing array_intersect_assoc() : Passing different types of arrays to \$arr2 argument **… 87 // loop through each sub-array within $arrrays to check the behavior of array_intersect_assoc() 92 // Calling array_intersect_assoc() with default arguments 93 var_dump( array_intersect_assoc($arr1, $arr2) ); 95 // Calling array_intersect_assoc() with more arguments 97 var_dump( array_intersect_assoc($arr1, $arr2, $arr1) ); 104 *** Testing array_intersect_assoc() : Passing different types of arrays to $arr2 argument ***
|
/PHP-7.2/ext/standard/ |
H A D | php_array.h | 86 PHP_FUNCTION(array_intersect_assoc);
|
H A D | basic_functions.c | 3359 PHP_FE(array_intersect_assoc, arginfo_array_intersect_assoc)
|
H A D | array.c | 5010 PHP_FUNCTION(array_intersect_assoc) argument
|
Completed in 95 milliseconds