/php-src/ext/standard/tests/array/ |
H A D | array_diff_variation2.phpt | 2 Test array_diff() function : usage variations - unexpected values for 'array2' argument 6 * Test array_diff by passing non array values in place of $array2 9 echo "*** Testing array_diff() : usage variations ***\n"; 85 // loop through each element of $inputs to check the behavior of array_diff 90 var_dump( array_diff($array, $input)); 100 *** Testing array_diff() : usage variations *** 102 -- Iteration 1 --array_diff(): Argument #2 must be of type array, int given 104 -- Iteration 2 --array_diff(): Argument #2 must be of type array, int given 106 -- Iteration 3 --array_diff(): Argument #2 must be of type array, int given 108 -- Iteration 4 --array_diff(): Argument #2 must be of type array, int given [all …]
|
H A D | array_diff_variation1.phpt | 2 Test array_diff() function : usage variations - unexpected values for 'array1' argument 6 * Test array_diff by passing non array values in place of $array1 9 echo "*** Testing array_diff() : usage variations ***\n"; 85 // loop through each element of $inputs to check the behavior of array_diff 90 var_dump( array_diff($input, $array)); 101 *** Testing array_diff() : usage variations *** 103 -- Iteration 1 --array_diff(): Argument #1 ($array) must be of type array, int given 105 -- Iteration 2 --array_diff(): Argument #1 ($array) must be of type array, int given 107 -- Iteration 3 --array_diff(): Argument #1 ($array) must be of type array, int given 109 -- Iteration 4 --array_diff(): Argument #1 ($array) must be of type array, int given [all …]
|
H A D | array_diff_variation5.phpt | 18 var_dump(array_diff($arr_int, $arr_float)); 19 var_dump(array_diff($arr_float, $arr_int)); 23 var_dump(array_diff($arr_int, $arr_int_str)); 24 var_dump(array_diff($arr_int_str, $arr_int)); 27 var_dump(array_diff($arr_int, $arr_float_str)); 28 var_dump(array_diff($arr_float_str, $arr_int)); 32 var_dump(array_diff($arr_float, $arr_int_str)); 33 var_dump(array_diff($arr_int_str, $arr_float)); 36 var_dump(array_diff($arr_float, $arr_float_str)); 37 var_dump(array_diff($arr_float_str, $arr_float)); [all …]
|
H A D | array_diff_variation7.phpt | 6 * Test how array_diff compares arrays that 11 echo "*** Testing array_diff() : usage variations ***\n"; 17 var_dump(array_diff($arr1, $arr2)); 18 var_dump(array_diff($arr2, $arr1)); 23 var_dump(array_diff($arr1, $arr2)); 24 var_dump(array_diff($arr2, $arr1)); 29 var_dump(array_diff($arr1, $arr2)); 30 var_dump(array_diff($arr2, $arr1)); 35 var_dump(array_diff($arr1, $arr2)); 36 var_dump(array_diff($arr2, $arr1)); [all …]
|
H A D | array_diff_basic.phpt | 2 Test array_diff() function : basic functionality 6 * Test basic functionality of array_diff 9 echo "*** Testing array_diff() : basic functionality ***\n"; 16 var_dump(array_diff($array_int1, $array_int2)); 17 var_dump(array_diff($array_int2, $array_int1)); 25 var_dump(array_diff($array_string1, $array_string2)); 26 var_dump(array_diff($array_string2, $array_string1)); 33 var_dump(array_diff($array_assoc_int1, $array_assoc_int2)); 34 var_dump(array_diff($array_assoc_int2, $array_assoc_int1)); 50 *** Testing array_diff() : basic functionality *** [all …]
|
H A D | array_diff_variation10.phpt | 2 Test array_diff() function : usage variations - binary safe checking 6 * Test behaviour of array_diff() function with binary input 9 echo "*** Testing array_diff() : usage variations ***\n"; 23 var_dump(array_diff($array1, $array2)); 24 var_dump(array_diff($array2, $array1)); 29 *** Testing array_diff() : usage variations ***
|
H A D | array_diff_variation9.phpt | 2 Test array_diff() function : usage variations - multidimensional arrays 6 * Test how array_diff() compares multidimensional arrays 9 echo "*** Testing array_diff() : usage variations ***\n"; 17 var_dump(array_diff($array1, $array2)); 18 var_dump(array_diff($array2, $array1)); 21 var_dump(array_diff($array1['sub_array1'], $array2['sub_arraya'])); 22 var_dump(array_diff($array2['sub_arraya'], $array1['sub_array1'])); 24 var_dump(array_diff($array1['sub_array2'], $array2['sub_arrayb'])); 28 var_dump(array_diff($array1['sub_array1'], $array2)); 29 var_dump(array_diff($array1, $array2['sub_arraya'])); [all …]
|
H A D | array_diff_variation6.phpt | 2 Test array_diff() function : usage variations - array containing duplicate keys and values 6 * Test that array_diff behaves as expected for comparing: 12 echo "*** Testing array_diff() : usage variations ***\n"; 21 var_dump(array_diff($array_index, $array_assoc)); 22 var_dump(array_diff($array_assoc, $array_index)); 27 *** Testing array_diff() : usage variations ***
|
H A D | array_diff_1.phpt | 2 Test array_diff when non-array is passed 10 array_diff($a, $b, $c); 18 array_diff(): Argument #2 must be of type array, int given
|
H A D | array_diff_variation4.phpt | 2 Test array_diff() function : usage variations - array with different data types as values 6 * Test how array_diff() compares indexed arrays containing different 10 echo "*** Testing array_diff() : usage variations ***\n"; 94 var_dump( array_diff($array, $value) ); 101 *** Testing array_diff() : usage variations ***
|
H A D | array_diff_variation3.phpt | 2 Test array_diff() function : usage variations - array with different data types as values 6 * Test how array_diff() compares indexed arrays containing different 10 echo "*** Testing array_diff() : usage variations ***\n"; 94 var_dump( array_diff($value, $array) ); 101 *** Testing array_diff() : usage variations ***
|
H A D | array_diff_variation8.phpt | 2 Test array_diff() function : usage variations - associative arrays containing different data types 6 * Test array_diff() with associative arrays containing different data types as values 9 echo "*** Testing array_diff() : usage variations ***\n"; 56 var_dump( array_diff($array, $input) ); 57 var_dump( array_diff($input, $array) ); 66 *** Testing array_diff() : usage variations ***
|
H A D | array_diff_single_array.phpt | 2 array_diff() with single array argument 8 var_dump(array_diff($array));
|
H A D | bug29253.phpt | 2 Bug #29253 (array_diff with $GLOBALS argument fails)
|
H A D | 007.phpt | 2 Test array_diff and array_diff_assoc behaviour 11 var_dump(array_diff($a,$b,$c)); 48 var_dump(array_diff($a,$b,$c)); 85 var_dump(array_diff($a,$b,$c));
|
/php-src/Zend/tests/function_arguments/ |
H A D | argument_count_incorrect_internal_strict.phpt | 14 array_diff(); 24 array_diff() expects at least 1 argument, 0 given
|
/php-src/ext/standard/tests/file/ |
H A D | statcache-corruption.phpt | 8 print_r(array_diff($a, $b));
|
/php-src/ext/random/tests/03_randomizer/methods/ |
H A D | pickArrayKeys.phpt | 49 if (array_diff($result, array_keys($array1)) !== []) { 59 if (array_diff($result, array_keys($array2)) !== []) { 69 if (array_diff($result, array_keys($array3)) !== []) {
|
/php-src/ext/pcntl/tests/ |
H A D | pcntl_cpuaffinity.phpt | 14 var_dump(array_diff($mask, $act_mask)); 16 var_dump(array_diff($act_mask, $n_act_mask));
|
/php-src/ext/standard/tests/general_functions/ |
H A D | bug79254.phpt | 12 var_dump(array_diff($new, $old));
|
H A D | get_defined_constants_basic.phpt | 12 var_dump(array_diff($arr1, $arr2));
|
/php-src/ext/dba/tests/ |
H A D | skipif.inc | 8 … $handlers = array_diff($handlers, array('cdb', 'cdb_make')); /* these can only read OR write */
|
/php-src/ext/zip/tests/ |
H A D | bug7658.phpt | 44 $ar = array_diff($found, $expect);
|
/php-src/ext/standard/tests/array/sort/ |
H A D | array_shuffle_basic.phpt | 31 echo "this should be 0->...." . count(array_diff($arr1, $arr2)) . "\n";
|
/php-src/ext/openssl/tests/ |
H A D | ecc.phpt | 77 $diff = array_diff($d1["ec"], $pubkey1["ec"]);
|