Searched refs:array_intersect_key (Results 1 – 17 of 17) sorted by relevance
/PHP-7.3/ext/standard/tests/array/ |
H A D | array_intersect_key_error.phpt | 2 Test array_intersect_key() function : error conditions 5 /* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_intersect_key() : error conditions ***\n"; 15 // Testing array_intersect_key with one less than the expected number of arguments 17 var_dump( array_intersect_key($array1) ); 19 // Testing array_intersect_key with one less than the expected number of arguments 20 echo "\n-- Testing array_intersect_key() function with no arguments --\n"; 21 var_dump( array_intersect_key() ); 25 *** Testing array_intersect_key() : error conditions *** 27 -- Testing array_intersect_key() function with less than expected no. of arguments -- [all …]
|
H A D | array_intersect_key_variation1.phpt | 2 Test array_intersect_key() function : usage variation - Passing unexpected values to first argument 5 /* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_intersect_key() : usage variation ***\n"; 97 var_dump( array_intersect_key($value, $array2) ); 98 var_dump( array_intersect_key($value, $array2, $array3) ); 105 *** Testing array_intersect_key() : usage variation *** 109 Warning: array_intersect_key(): Expected parameter 1 to be an array, int given in %s on line %d 112 Warning: array_intersect_key(): Expected parameter 1 to be an array, int given in %s on line %d 117 Warning: array_intersect_key(): Expected parameter 1 to be an array, int given in %s on line %d 120 Warning: array_intersect_key(): Expected parameter 1 to be an array, int given in %s on line %d [all …]
|
H A D | array_intersect_key_variation2.phpt | 2 Test array_intersect_key() function : usage variation - Passing unexpected values to second argument 5 /* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_intersect_key() : usage variation ***\n"; 98 var_dump( array_intersect_key($array1, $value) ); 99 var_dump( array_intersect_key($array1, $value, $array3) ); 106 *** Testing array_intersect_key() : usage variation *** 110 Warning: array_intersect_key(): Expected parameter 2 to be an array, int given in %s on line %d 113 Warning: array_intersect_key(): Expected parameter 2 to be an array, int given in %s on line %d 118 Warning: array_intersect_key(): Expected parameter 2 to be an array, int given in %s on line %d 121 Warning: array_intersect_key(): Expected parameter 2 to be an array, int given in %s on line %d [all …]
|
H A D | array_intersect_key_variation5.phpt | 2 Test array_intersect_key() function : usage variation - Passing float indexed array 5 /* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_intersect_key() : usage variation ***\n"; 16 echo "\n-- Testing array_intersect_key() function with float indexed array --\n"; 17 var_dump( array_intersect_key($input_array, $float_indx_array) ); 18 var_dump( array_intersect_key($float_indx_array,$input_array ) ); 22 *** Testing array_intersect_key() : usage variation *** 24 -- Testing array_intersect_key() function with float indexed array --
|
H A D | array_intersect_key_variation3.phpt | 2 Test array_intersect_key() function : usage variation - Passing unexpected values to optional argum… 5 /* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_intersect_key() : usage variation ***\n"; 97 var_dump( array_intersect_key($array1, $array2, $value) ); 104 *** Testing array_intersect_key() : usage variation *** 108 Warning: array_intersect_key(): Expected parameter 3 to be an array, int given in %s on line %d 113 Warning: array_intersect_key(): Expected parameter 3 to be an array, int given in %s on line %d 118 Warning: array_intersect_key(): Expected parameter 3 to be an array, int given in %s on line %d 123 Warning: array_intersect_key(): Expected parameter 3 to be an array, int given in %s on line %d 153 Warning: array_intersect_key(): Expected parameter 3 to be an array, null given in %s on line %d [all …]
|
H A D | array_intersect_key_variation6.phpt | 2 Test array_intersect_key() function : usage variation - Passing boolean indexed array 5 /* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_intersect_key() : usage variation ***\n"; 16 echo "\n-- Testing array_intersect_key() function with boolean indexed array --\n"; 17 var_dump( array_intersect_key($input_array, $boolean_indx_array) ); 18 var_dump( array_intersect_key($boolean_indx_array,$input_array ) ); 22 *** Testing array_intersect_key() : usage variation *** 24 -- Testing array_intersect_key() function with boolean indexed array --
|
H A D | array_intersect_key_variation8.phpt | 2 Test array_intersect_key() function : usage variation - Passing Multi dimensional array 5 /* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_intersect_key() : usage variation ***\n"; 30 var_dump( array_intersect_key($array1, $array2) ); 31 var_dump( array_intersect_key($array2,$array1 ) ); 35 *** Testing array_intersect_key() : usage variation ***
|
H A D | array_intersect_key_variation4.phpt | 2 Test array_intersect_key() function : usage variation - Passing integer indexed array 5 /* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_intersect_key() : usage variation ***\n"; 23 var_dump( array_intersect_key($input_array, $value) ); 24 var_dump( array_intersect_key($value,$input_array ) ); 29 *** Testing array_intersect_key() : usage variation ***
|
H A D | array_intersect_key.phpt | 2 Test of the array_intersect_key() and array_intersect_ukey() 21 var_dump(array_intersect_key($a_f, $b_f));// keys -> 2, -20, -2500 23 var_dump(array_intersect_key($a_f, $c_f));// keys -> 6, 2, -20, -2500 25 var_dump(array_intersect_key($a_f, $d_f));// -20 28 var_dump(array_intersect_key($a_f, $b_f, $c_f));// 2, -20, -2500 30 var_dump(array_intersect_key($a_f, $b_f, $d_f));// -20 33 var_dump(array_intersect_key($a_f, $b_f, $c_f, $d_f));// -20 37 var_dump(array_intersect_key($b_f, $c_f));// 0, 2, -20, -2500 40 var_dump(array_intersect_key($b_f, $d_f));// -20 43 var_dump(array_intersect_key($b_f, $c_f, $d_f));// -20
|
H A D | array_intersect_key_variation7.phpt | 2 Test array_intersect_key() function : usage variation - Passing null,unset and undefeined variable … 5 /* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_intersect_key() : usage variation ***\n"; 26 var_dump( array_intersect_key($input_array, $value) ); 27 var_dump( array_intersect_key($value,$input_array ) ); 32 *** Testing array_intersect_key() : usage variation ***
|
H A D | array_intersect_key_basic.phpt | 2 array_intersect_key(): Basic Test 6 * proto array array_intersect_key(array arr1, array arr2 [, array ...]) 11 var_dump(array_intersect_key($array1, $array2));
|
H A D | bug39576.phpt | 28 array_intersect_key (
|
/PHP-7.3/ext/dom/tests/ |
H A D | domdocumentload_utilities.php | 7 $libxml_constants = array_intersect_key($defined_constants['libxml'], array_flip($env_array));
|
/PHP-7.3/ext/standard/ |
H A D | php_array.h | 83 PHP_FUNCTION(array_intersect_key);
|
H A D | basic_functions.c | 3385 PHP_FE(array_intersect_key, arginfo_array_intersect_key)
|
H A D | array.c | 4958 PHP_FUNCTION(array_intersect_key) argument
|
/PHP-7.3/Zend/ |
H A D | zend_vm_gen.php | 665 $extra = extra_spec_name(array_intersect_key($extra_spec, $helpers[$name]["spec"]));
|
Completed in 49 milliseconds