/PHP-7.2/ext/standard/tests/array/ |
H A D | array_merge_variation2.phpt | 5 /* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) 14 echo "*** Testing array_merge() : usage variations ***\n"; 92 var_dump( array_merge($arr1, $input) ); 101 *** Testing array_merge() : usage variations *** 105 Warning: array_merge(): Argument #2 is not an array in %s on line %d 110 Warning: array_merge(): Argument #2 is not an array in %s on line %d 115 Warning: array_merge(): Argument #2 is not an array in %s on line %d 120 Warning: array_merge(): Argument #2 is not an array in %s on line %d 125 Warning: array_merge(): Argument #2 is not an array in %s on line %d 130 Warning: array_merge(): Argument #2 is not an array in %s on line %d [all …]
|
H A D | array_merge_variation1.phpt | 5 /* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) 14 echo "*** Testing array_merge() : usage variations ***\n"; 92 var_dump( array_merge($input, $arr2) ); 101 *** Testing array_merge() : usage variations *** 105 Warning: array_merge(): Argument #1 is not an array in %s on line %d 110 Warning: array_merge(): Argument #1 is not an array in %s on line %d 115 Warning: array_merge(): Argument #1 is not an array in %s on line %d 120 Warning: array_merge(): Argument #1 is not an array in %s on line %d 125 Warning: array_merge(): Argument #1 is not an array in %s on line %d 130 Warning: array_merge(): Argument #1 is not an array in %s on line %d [all …]
|
H A D | array_merge_error.phpt | 2 Test array_merge() function : error conditions - Pass incorrect number of args 5 /* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) 11 * Pass incorrect number of arguments to array_merge() to test behaviour 14 echo "*** Testing array_merge() : error conditions ***\n"; 16 // Testing array_merge with zero arguments 17 echo "\n-- Testing array_merge() function with less than expected no. of arguments --\n"; 19 var_dump( array_merge() ); 24 *** Testing array_merge() : error conditions *** 26 -- Testing array_merge() function with less than expected no. of arguments -- 28 Warning: array_merge() expects at least 1 parameter, 0 given in %s on line %d
|
H A D | array_merge_basic.phpt | 2 Test array_merge() function : basic functionality 5 /* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) 11 * Test basic functionality of array_merge() 14 echo "*** Testing array_merge() : basic functionality ***\n"; 21 var_dump(array_merge($array1, $array2)); 23 var_dump(array_merge($array2, $array1)); 28 *** Testing array_merge() : basic functionality ***
|
H A D | array_merge_variation8.phpt | 2 Test array_merge() function : usage variations - multi-dimensional arrays 5 /* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) 11 * Test array_merge() with multi-dimensional arrays 14 echo "*** Testing array_merge() : usage variations ***\n"; 20 var_dump(array_merge($arr1, $arr2)); 23 var_dump(array_merge($arr1[3], $arr2)); 24 var_dump(array_merge($arr2, $arr1[3])); 29 *** Testing array_merge() : usage variations ***
|
H A D | array_merge_variation5.phpt | 2 Test array_merge() function : usage variations - numeric keys 5 /* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) 11 * Pass array_merge() arrays with only numeric keys to test behaviour. 15 echo "*** Testing array_merge() : usage variations ***\n"; 21 var_dump(array_merge($arr1, $arr2)); 22 var_dump(array_merge($arr2, $arr1)); 27 *** Testing array_merge() : usage variations ***
|
H A D | array_merge_variation7.phpt | 2 Test array_merge() function : usage variations - Mixed keys 5 /* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) 11 * Pass array_merge() arrays with mixed keys to test how it attaches them to 15 echo "*** Testing array_merge() : usage variations ***\n"; 21 var_dump(array_merge($arr1, $arr2)); 22 var_dump(array_merge($arr2, $arr1)); 27 *** Testing array_merge() : usage variations ***
|
H A D | array_merge_variation6.phpt | 2 Test array_merge() function : usage variations - string keys 5 /* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) 11 * Pass array_merge arrays with string keys to test behaviour. 15 echo "*** Testing array_merge() : usage variations ***\n"; 21 var_dump(array_merge($arr1, $arr2)); 22 var_dump(array_merge($arr2, $arr1)); 27 *** Testing array_merge() : usage variations ***
|
H A D | array_merge_variation10.phpt | 2 Test array_merge() function : usage variations - position of internal array pointer 5 /* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) 11 * Check the position of the internal array pointer after calling array_merge(). 12 * This test is also passing more than two arguments to array_merge(). 15 echo "*** Testing array_merge() : usage variations ***\n"; 21 echo "\n-- Call array_merge() --\n"; 22 var_dump($result = array_merge($arr1, $arr2, $arr3)); 38 *** Testing array_merge() : usage variations *** 40 -- Call array_merge() --
|
H A D | array_merge_variation9.phpt | 2 Test array_merge() function : usage variations - referenced variables 5 /* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) 10 /* Test array_merge() when: 15 echo "*** Testing array_merge() : usage variations ***\n"; 25 var_dump(array_merge($arr1, $arr2)); 26 var_dump(array_merge($arr2, $arr1)); 31 var_dump(array_merge($arr1, $arr2)); 32 var_dump(array_merge($arr2, $arr1)); 37 *** Testing array_merge() : usage variations ***
|
H A D | array_merge.phpt | 2 Test array_merge() function 41 $result = array_merge($first, $second); 50 var_dump( array_merge( $end_array[0], 57 var_dump( array_merge( $end_array[0], 67 var_dump(array_merge(array())); 70 var_dump(array_merge($begin_array[4])); 73 var_dump(array_merge($begin_array[5])); 76 var_dump(array_merge($begin_array[6])); 83 var_dump(array_merge()); 84 var_dump(array_merge(100, 200)); [all …]
|
H A D | array_merge_variation3.phpt | 2 Test array_merge() function : usage variations - arrays of diff. data types 5 /* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) 11 * Pass arrays of different data types to test how array_merge adds them 15 echo "*** Testing array_merge() : usage variations ***\n"; 111 // loop through each element of $inputs to check the behavior of array_merge 115 var_dump( array_merge($input, $arr) ); 116 var_dump( array_merge($arr, $input) ); 125 *** 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 5 /* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) 11 * Pass an array with different data types as keys to test how array_merge 15 echo "*** Testing array_merge() : usage variations ***\n"; 99 // loop through each element of $inputs to check the behavior of array_merge 103 var_dump( array_merge($input, $arr) ); 104 var_dump( array_merge($arr, $input) ); 111 *** 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);
|
H A D | array_merge_replace_recursive_refs.phpt | 2 array_merge/replace_recursive() should unwrap references with rc=1
|
/PHP-7.2/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-7.2/ext/standard/tests/serialize/ |
H A D | bug35895.phpt | 15 return array_merge(array("child"), parent::__sleep());
|
/PHP-7.2/sapi/phpdbg/ |
H A D | .phpdbginit | 43 return array_merge( 70 $_SERVER['argv'] = array_merge
|
/PHP-7.2/Zend/tests/closures/ |
H A D | closure_from_callable.inc | 141 $info = array_merge($info, $arguments); 149 $info = array_merge($info, $arguments);
|
/PHP-7.2/scripts/dev/generate-phpt/src/setup/ |
H A D | gtCommandLineOptions.php | 56 if (!in_array($option, array_merge($this->shortOptions, $this->shortOptionsWithArgs)))
|
/PHP-7.2/ext/mysqli/tests/ |
H A D | mysqli_constants.phpt | 155 $expected_constants = array_merge($expected_constants, array( 166 $expected_constants = array_merge($expected_constants, array( 176 $expected_constants = array_merge($expected_constants, array(
|
/PHP-7.2/scripts/dev/ |
H A D | search_underscores.php | 32 $classes = array_merge(get_declared_classes(), get_declared_interfaces());
|