/php-src/ext/standard/tests/array/ |
H A D | array_merge_variation2.phpt | 9 echo "*** Testing array_merge() : usage variations ***\n"; 88 var_dump( array_merge($arr1, $input) ); 100 *** Testing array_merge() : usage variations *** 103 array_merge(): Argument #2 must be of type array, int given 106 array_merge(): Argument #2 must be of type array, int given 109 array_merge(): Argument #2 must be of type array, int given 112 array_merge(): Argument #2 must be of type array, int given 130 array_merge(): Argument #2 must be of type array, null given 133 array_merge(): Argument #2 must be of type array, null given 136 array_merge(): Argument #2 must be of type array, true given [all …]
|
H A D | array_merge_basic.phpt | 2 Test array_merge() function : basic functionality 6 * Test basic functionality of array_merge() 9 echo "*** Testing array_merge() : basic functionality ***\n"; 16 var_dump(array_merge($array1, $array2)); 18 var_dump(array_merge($array2, $array1)); 23 *** Testing array_merge() : basic functionality ***
|
H A D | array_merge_variation8.phpt | 2 Test array_merge() function : usage variations - multi-dimensional arrays 6 * Test array_merge() with multi-dimensional arrays 9 echo "*** Testing array_merge() : usage variations ***\n"; 15 var_dump(array_merge($arr1, $arr2)); 18 var_dump(array_merge($arr1[3], $arr2)); 19 var_dump(array_merge($arr2, $arr1[3])); 24 *** Testing array_merge() : usage variations ***
|
H A D | array_merge_variation5.phpt | 2 Test array_merge() function : usage variations - numeric keys 6 * Pass array_merge() arrays with only numeric keys to test behaviour. 10 echo "*** Testing array_merge() : usage variations ***\n"; 16 var_dump(array_merge($arr1, $arr2)); 17 var_dump(array_merge($arr2, $arr1)); 22 *** Testing array_merge() : usage variations ***
|
H A D | array_merge_variation7.phpt | 2 Test array_merge() function : usage variations - Mixed keys 6 * Pass array_merge() arrays with mixed keys to test how it attaches them to 10 echo "*** Testing array_merge() : usage variations ***\n"; 16 var_dump(array_merge($arr1, $arr2)); 17 var_dump(array_merge($arr2, $arr1)); 22 *** Testing array_merge() : usage variations ***
|
H A D | array_merge_variation10.phpt | 2 Test array_merge() function : usage variations - position of internal array pointer 6 * Check the position of the internal array pointer after calling array_merge(). 7 * This test is also passing more than two arguments to array_merge(). 10 echo "*** Testing array_merge() : usage variations ***\n"; 16 echo "\n-- Call array_merge() --\n"; 17 var_dump($result = array_merge($arr1, $arr2, $arr3)); 33 *** Testing array_merge() : usage variations *** 35 -- Call array_merge() --
|
H A D | array_merge_variation6.phpt | 2 Test array_merge() function : usage variations - string keys 6 * Pass array_merge arrays with string keys to test behaviour. 10 echo "*** Testing array_merge() : usage variations ***\n"; 16 var_dump(array_merge($arr1, $arr2)); 17 var_dump(array_merge($arr2, $arr1)); 22 *** Testing array_merge() : usage variations ***
|
H A D | array_merge_variation9.phpt | 2 Test array_merge() function : usage variations - referenced variables 5 /* Test array_merge() when: 10 echo "*** Testing array_merge() : usage variations ***\n"; 20 var_dump(array_merge($arr1, $arr2)); 21 var_dump(array_merge($arr2, $arr1)); 26 var_dump(array_merge($arr1, $arr2)); 27 var_dump(array_merge($arr2, $arr1)); 32 *** Testing array_merge() : usage variations ***
|
H A D | array_merge_variation1.phpt | 2 Test array_merge() function : usage variations - Pass different data types to $arr1 arg 9 echo "*** Testing array_merge() : usage variations ***\n"; 83 // loop through each element of $inputs to check the behavior of array_merge() 87 var_dump( array_merge($input, $arr2) ); 96 *** Testing array_merge() : usage variations *** 100 Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, int given in %s:… 102 #0 %s(%d): array_merge(0, Array)
|
H A D | array_merge.phpt | 2 Test array_merge() function 7 echo "\n*** Testing array_merge() basic functionality ***"; 37 $result = array_merge($first, $second); 46 var_dump( array_merge( $end_array[0], 53 var_dump( array_merge( $end_array[0], 63 var_dump(array_merge(array())); 66 var_dump(array_merge($begin_array[4])); 69 var_dump(array_merge($begin_array[5])); 72 var_dump(array_merge($begin_array[6])); 78 var_dump(array_merge()); [all …]
|
H A D | array_merge_variation3.phpt | 2 Test array_merge() function : usage variations - arrays of diff. data types 6 * Pass arrays of different data types to test how array_merge adds them 10 echo "*** Testing array_merge() : usage variations ***\n"; 106 // loop through each element of $inputs to check the behavior of array_merge 110 var_dump( array_merge($input, $arr) ); 111 var_dump( array_merge($arr, $input) ); 120 *** Testing array_merge() : usage variations ***
|
H A D | bug72369.phpt | 2 Bug #72369 (array_merge() produces references in PHP7) 9 $a = array_merge($a, $d);
|
H A D | array_merge_variation4.phpt | 2 Test array_merge() function : usage variations - Diff. data types as array keys 6 * Pass an array with different data types as keys to test how array_merge 10 echo "*** Testing array_merge() : usage variations ***\n"; 82 // loop through each element of $inputs to check the behavior of array_merge 86 var_dump( array_merge($input, $arr) ); 87 var_dump( array_merge($arr, $input) ); 94 *** Testing array_merge() : usage variations ***
|
H A D | bug71837.phpt | 9 $c = array_merge($p, array());
|
H A D | 001.phpt | 2 Test array_merge and array_walk 33 $data = array_merge($data, $data2);
|
/php-src/Zend/tests/named_params/ |
H A D | internal_variadics.phpt | 7 array_merge([1, 2], a: [3, 4]); 20 array_merge() does not accept unknown named parameters
|
/php-src/tests/lang/operators/ |
H A D | operator_identical_basic.phpt | 25 true, array(true), array_merge($valid_true, $valid_false), 26 false, array(false), array_merge($valid_true, $valid_false),
|
H A D | operator_notidentical_basic.phpt | 25 true, array_merge($valid_true, $valid_false), array(true), 26 false, array_merge($valid_true, $valid_false), array(false),
|
/php-src/ext/standard/tests/array/sort/ |
H A D | array_multisort_stability.phpt | 9 $origAry2 = $ary2 = array_merge(...array_fill(0, 50, [0, '0']));
|
/php-src/ext/opcache/tests/opt/ |
H A D | block_pass_002.phpt | 13 ? [$key, array_merge($value, $attributes)]
|
/php-src/ext/bcmath/tests/ |
H A D | bcadd_zero.phpt | 12 $rightSummands = array_merge($leftSummands, [
|
H A D | bcsub_zero.phpt | 12 $subtrahends = array_merge($minuends, [
|
H A D | bcmul_zero.phpt | 12 $secondFactors = array_merge($firstFactors, [
|
/php-src/ext/opcache/tests/jit/ |
H A D | gh15821.phpt | 13 $allInternalFunctions = array_merge($allInternalFunctions, $internalFunctions);
|
/php-src/ext/pcntl/tests/ |
H A D | bug81577_3.phpt | 13 array_merge([1], [2]) + posix_kill(posix_getpid(), SIGTERM);
|