/PHP-7.3/ext/standard/tests/array/ |
H A D | array_diff_key_error.phpt | 2 Test array_diff_key() function : error conditions 5 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_diff_key() : error conditions ***\n"; 15 // Testing array_diff_key with one less than the expected number of arguments 17 var_dump( array_diff_key($array1) ); 19 // Testing array_diff_key with no arguments 20 echo "\n-- Testing array_diff_key() function with no arguments --\n"; 21 var_dump( array_diff_key() ); 25 *** Testing array_diff_key() : error conditions *** 27 -- Testing array_diff_key() function with less than expected no. of arguments -- [all …]
|
H A D | array_diff_key_variation1.phpt | 2 Test array_diff_key() function : usage variation - Passing unexpected values to first argument 5 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_diff_key() : usage variation ***\n"; 93 var_dump( array_diff_key($value, $array2) ); 94 var_dump( array_diff_key($value, $array2, $array3) ); 101 *** Testing array_diff_key() : usage variation *** 105 Warning: array_diff_key(): Expected parameter 1 to be an array, int given in %s on line %d 108 Warning: array_diff_key(): Expected parameter 1 to be an array, int given in %s on line %d 113 Warning: array_diff_key(): Expected parameter 1 to be an array, int given in %s on line %d 116 Warning: array_diff_key(): Expected parameter 1 to be an array, int given in %s on line %d [all …]
|
H A D | array_diff_key_variation2.phpt | 2 Test array_diff_key() function : usage variation - Passing unexpected values to second argument 5 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_diff_key() : usage variation ***\n"; 94 var_dump( array_diff_key($array1, $value) ); 95 var_dump( array_diff_key($array1, $value, $array3) ); 102 *** Testing array_diff_key() : usage variation *** 106 Warning: array_diff_key(): Expected parameter 2 to be an array, int given in %s on line %d 109 Warning: array_diff_key(): Expected parameter 2 to be an array, int given in %s on line %d 114 Warning: array_diff_key(): Expected parameter 2 to be an array, int given in %s on line %d 117 Warning: array_diff_key(): Expected parameter 2 to be an array, int given in %s on line %d [all …]
|
H A D | array_diff_key_variation3.phpt | 2 Test array_diff_key() function : usage variation - Passing unexpected values to third optional argu… 5 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_diff_key() : usage variation ***\n"; 94 var_dump( array_diff_key($array1, $array2, $value) ); 101 *** Testing array_diff_key() : usage variation *** 105 Warning: array_diff_key(): Expected parameter 3 to be an array, int given in %s on line %d 110 Warning: array_diff_key(): Expected parameter 3 to be an array, int given in %s on line %d 115 Warning: array_diff_key(): Expected parameter 3 to be an array, int given in %s on line %d 120 Warning: array_diff_key(): Expected parameter 3 to be an array, int given in %s on line %d 150 Warning: array_diff_key(): Expected parameter 3 to be an array, null given in %s on line %d [all …]
|
H A D | array_diff_key_variation5.phpt | 2 Test array_diff_key() function : usage variation - Passing float indexed array 5 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_diff_key() : usage variation ***\n"; 16 echo "\n-- Testing array_diff_key() function with float indexed array --\n"; 18 var_dump( array_diff_key($input_array, $float_indx_array) ); 19 var_dump( array_diff_key($float_indx_array, $input_array) ); 23 *** Testing array_diff_key() : usage variation *** 25 -- Testing array_diff_key() function with float indexed array --
|
H A D | array_diff_key_variation6.phpt | 2 Test array_diff_key() function : usage variation - Passing boolean indexed array 5 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_diff_key() : usage variation ***\n"; 16 echo "\n-- Testing array_diff_key() function with boolean indexed array --\n"; 18 var_dump( array_diff_key($input_array, $boolean_indx_array) ); 19 var_dump( array_diff_key($boolean_indx_array, $input_array) ); 23 *** Testing array_diff_key() : usage variation *** 25 -- Testing array_diff_key() function with boolean indexed array --
|
H A D | array_diff_key_variation8.phpt | 2 Test array_diff_key() function : usage variation - Passing multi-dimensional array 5 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_diff_key() : usage variation ***\n"; 31 echo "\n-- Testing array_diff_key() function with multi dimensional array --\n"; 32 var_dump( array_diff_key($array1, $array2) ); 33 var_dump( array_diff_key($array2, $array1) ); 37 *** Testing array_diff_key() : usage variation *** 39 -- Testing array_diff_key() function with multi dimensional array --
|
H A D | array_diff_key2.phpt | 2 basic array_diff_key test 8 $result[] = array_diff_key($array1, $array2); 9 $result[] = array_diff_key($array1, $array3); 10 $result[] = array_diff_key($array2, $array3); 11 $result[] = array_diff_key($array1, $array2, $array3);
|
H A D | array_diff_key_variation4.phpt | 2 Test array_diff_key() function : usage variation - Passing integer indexed array 5 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_diff_key() : usage variation ***\n"; 24 var_dump( array_diff_key($input_array, $value) ); 25 var_dump( array_diff_key($value, $input_array) ); 30 *** Testing array_diff_key() : usage variation ***
|
H A D | array_diff_key.phpt | 2 Test of the array_diff_key() and array_diff_ukey() 21 var_dump(array_diff_key($a_f, $b_f));// keys -> 1, 6, 15, 1200 25 var_dump(array_diff_key($a_f, $c_f));// keys -> 1, 15, 1200 29 var_dump(array_diff_key($a_f, $d_f));// 1, 6, 2, 15, 1200, -2500 33 var_dump(array_diff_key($a_f, $b_f, $c_f));// 1, 15, 1200 37 var_dump(array_diff_key($a_f, $b_f, $d_f));// 1, 6, 15, 1200 42 var_dump(array_diff_key($a_f, $b_f, $c_f, $d_f));// 1, 15, 1200 47 var_dump(array_diff_key($b_f, $c_f));// 7, 11, 1100 51 var_dump(array_diff_key($b_f, $d_f));//0, 7, 2, 11, 1100, -2500 56 var_dump(array_diff_key($b_f, $c_f, $d_f));// 7, 11, 1100
|
H A D | array_diff_key_variation7.phpt | 2 Test array_diff_key() function : usage variation - Passing null,unset and undefined variable indexe… 5 /* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) 10 echo "*** Testing array_diff_key() : usage variation ***\n"; 28 var_dump( array_diff_key($input_array, $value) ); 29 var_dump( array_diff_key($value, $input_array) ); 34 *** Testing array_diff_key() : usage variation ***
|
H A D | array_diff_key_basic.phpt | 2 Test array_diff_key() : basic functionality 6 * proto array array_diff_key(array arr1, array arr2 [, array ...]) 11 var_dump(array_diff_key($array1, $array2));
|
H A D | array_diff_uassoc_variation10.phpt | 17 echo "\n-- Testing array_diff_key() function with float indexed array --\n"; 26 -- Testing array_diff_key() function with float indexed array --
|
H A D | array_diff_uassoc_variation11.phpt | 17 echo "\n-- Testing array_diff_key() function with float indexed array --\n"; 26 -- Testing array_diff_key() function with float indexed array --
|
/PHP-7.3/ext/opcache/tests/ |
H A D | bug77092.phpt | 2 Bug #77092: array_diff_key() - segmentation fault 14 print_r(array_diff_key($anyArrayOne, $anyArrayTwo));
|
H A D | get_configuration_matches_ini.phpt | 13 var_dump(array_diff_key($inis, $opts));
|
/PHP-7.3/ext/standard/ |
H A D | php_array.h | 91 PHP_FUNCTION(array_diff_key);
|
H A D | basic_functions.c | 3393 PHP_FE(array_diff_key, arginfo_array_diff_key)
|
H A D | array.c | 5367 PHP_FUNCTION(array_diff_key) argument
|
/PHP-7.3/ |
H A D | NEWS | 1598 . Fixed bug #77092 (array_diff_key() - segmentation fault). (Nikita)
|