Home
last modified time | relevance | path

Searched refs:array_merge_recursive (Results 1 – 25 of 27) sorted by relevance

12

/php-src/ext/standard/tests/array/
H A Darray_merge_recursive_variation1.phpt2 Test array_merge_recursive() function : usage variations - unexpected values for $arr1 argument
6 * Passing non array values to 'arr1' argument of array_merge_recursive() and see
10 echo "*** Testing array_merge_recursive() : Passing non array values to \$arr1 argument ***\n";
83 // loop through each element of $arrays and check the behavior of array_merge_recursive()
91 var_dump( array_merge_recursive($arr1) );
99 var_dump( array_merge_recursive($arr1, $arr2) );
113 *** Testing array_merge_recursive() : Passing non array values to $arr1 argument ***
117 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, int given
121 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, int given
125 -- With more arguments --array_merge_recursive(): Argument #1 must be of type array, int given
[all …]
H A Darray_merge_recursive_variation2.phpt2 Test array_merge_recursive() function : usage variations - unexpected values for $arr2 argument
6 * Passing non array values to 'arr2' argument of array_merge_recursive() and see
10 echo "*** Testing array_merge_recursive() : Passing non array values to \$arr2 argument ***\n";
83 // loop through each element of $arrays and check the behavior of array_merge_recursive()
88 var_dump( array_merge_recursive($arr1, $arr2) );
101 *** Testing array_merge_recursive() : Passing non array values to $arr2 argument ***
103 -- Iteration 1 --array_merge_recursive(): Argument #2 must be of type array, int given
105 -- Iteration 2 --array_merge_recursive(): Argument #2 must be of type array, int given
107 -- Iteration 3 --array_merge_recursive(): Argument #2 must be of type array, int given
109 -- Iteration 4 --array_merge_recursive(): Argument #2 must be of type array, int given
[all …]
H A Dbug42177.phpt2 Bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...)
8 $a1 = array_merge_recursive( $a1, $a2 );
9 $a1 = array_merge_recursive( $a1, $a2 );
14 $a1 = array_merge_recursive( $a1, $a2 );
15 $a1 = array_merge_recursive( $a1, $a2 );
20 $a1 = array_merge_recursive( $a1, $a2 );
22 $a1 = array_merge_recursive( $a1, $a2 );
32 $a1 = array_merge_recursive( $a1, $a2 );
33 $a1 = array_merge_recursive( $a1, $a2 );
H A Darray_merge_recursive_basic1.phpt2 Test array_merge_recursive() function : basic functionality - array with default keys
5 echo "*** Testing array_merge_recursive() : array with default keys ***\n";
12 // Calling array_merge_recursive() without arguments
14 var_dump( array_merge_recursive() );
16 // Calling array_merge_recursive() with default arguments
18 var_dump( array_merge_recursive($arr1) );
20 // Calling array_merge_recursive() with more arguments
22 var_dump( array_merge_recursive($arr1,$arr2) );
23 var_dump( array_merge_recursive($arr1,$arr2,$arr3) );
28 *** Testing array_merge_recursive() : array with default keys ***
H A Darray_merge_recursive_basic2.phpt2 Test array_merge_recursive() function : basic functionality - associative arrays
5 echo "*** Testing array_merge_recursive() : associative arrays ***\n";
12 // Calling array_merge_recursive() with default arguments
14 var_dump( array_merge_recursive($arr1) );
16 // Calling array_merge_recursive() with more arguments
18 var_dump( array_merge_recursive($arr1,$arr2) );
19 var_dump( array_merge_recursive($arr1,$arr2,$arr3) );
24 *** Testing array_merge_recursive() : associative arrays ***
H A Darray_merge_recursive_variation9.phpt2 Test array_merge_recursive() function : usage variations - common key and value(Bug#43559)
6 * Testing the functionality of array_merge_recursive() by passing
10 echo "*** Testing array_merge_recursive() : arrays with common key and value ***\n";
18 var_dump( array_merge_recursive($arr1, $arr2) );
24 var_dump( array_merge_recursive($arr1, $arr2) );
30 var_dump( array_merge_recursive($arr1, $arr2) );
36 var_dump( array_merge_recursive($arr1, $arr2) );
42 var_dump( array_merge_recursive($arr1, $arr2) );
47 *** Testing array_merge_recursive() : arrays with common key and value ***
H A Darray_merge_recursive_variation6.phpt2 Test array_merge_recursive() function : usage variations - array with duplicate keys
6 * Testing the functionality of array_merge_recursive() by passing
10 echo "*** Testing array_merge_recursive() : array with duplicate keys for \$arr1 argument ***\n";
22 var_dump( array_merge_recursive($arr1_numeric_key) );
23 var_dump( array_merge_recursive($arr1_string_key) );
26 var_dump( array_merge_recursive($arr1_numeric_key, $arr2) );
27 var_dump( array_merge_recursive($arr1_string_key, $arr2) );
32 *** Testing array_merge_recursive() : array with duplicate keys for $arr1 argument ***
H A Darray_merge_recursive_variation7.phpt2 Test array_merge_recursive() function : usage variations - array with reference variables
6 * Testing the functionality of array_merge_recursive() by passing
10 echo "*** Testing array_merge_recursive() : array with reference variables for \$arr1 argument ***\…
31 var_dump( array_merge_recursive($arr1) );
34 var_dump( array_merge_recursive($arr1, $arr2) );
39 *** Testing array_merge_recursive() : array with reference variables for $arr1 argument ***
H A Darray_merge_recursive_variation8.phpt2 Test array_merge_recursive() function : usage variations - binary safe checking
6 * Testing the functionality of array_merge_recursive() by passing an array having binary values.
9 echo "*** Testing array_merge_recursive() : array with binary data for \$arr1 argument ***\n";
18 var_dump( array_merge_recursive($arr1) );
21 var_dump( array_merge_recursive($arr1, $arr2) );
26 *** Testing array_merge_recursive() : array with binary data for $arr1 argument ***
H A Darray_merge_recursive_variation10.phpt2 Test array_merge_recursive() function : usage variations - two dimensional arrays
6 * Testing the functionality of array_merge_recursive() by passing
10 echo "*** Testing array_merge_recursive() : two dimensional array for \$arr1 argument ***\n";
25 var_dump( array_merge_recursive($arr1) );
27 var_dump( array_merge_recursive($arr1, $arr2) );
31 var_dump( array_merge_recursive($arr1["array"]) );
33 var_dump( array_merge_recursive($arr1["array"], $arr2["array"]) );
38 *** Testing array_merge_recursive() : two dimensional array for $arr1 argument ***
H A Dbug65251.phpt2 Bug #65251: array_merge_recursive() recursion detection broken
8 array_merge_recursive($GLOBALS, $GLOBALS);
H A Dbug70808.phpt2 Bug #70808 (array_merge_recursive corrupts memory of unset items)
11 $result = array_merge_recursive($arr1, $arr2);
H A Dbug76505.phpt2 Bug #76505 (array_merge_recursive() is duplicating sub-array keys)
18 $array3 = array_merge_recursive( $array1, $array2 );
H A Dbug24198.phpt2 Bug #24198 (array_merge_recursive() invalid recursion detection)
7 var_dump(array_merge_recursive($c, $c));
H A Dbug48854.phpt2 Bug #48854 (array_merge_recursive modifies arrays after first one)
20 $merged = array_merge_recursive($array1, $array2);
H A Dbug79930.phpt2 Bug #79930: array_merge_recursive() crashes when called with array with single reference
14 $m = array_merge_recursive(['value' => 'a'], $array);
H A Dbug43495.phpt2 Bug #43495 (array_merge_recursive() crashes with recursive arrays)
13 array_merge_recursive($a,$b);
H A Darray_merge_recursive_variation4.phpt2 Test array_merge_recursive() function : usage variations - associative array with different keys
6 * Testing the functionality of array_merge_recursive() by passing different
10 echo "*** Testing array_merge_recursive() : assoc. array with diff. keys to \$arr1 argument ***\n";
50 // loop through each sub array of $arrays and check the behavior of array_merge_recursive()
57 var_dump( array_merge_recursive($arr1) );
61 var_dump( array_merge_recursive($arr1, $arr2) );
72 *** Testing array_merge_recursive() : assoc. array with diff. keys to $arr1 argument ***
H A Dbug20381.phpt2 Bug #20381 (array_merge_recursive mangles input arrays)
22 array_merge_recursive( $a, $b );
H A Darray_merge_recursive_variation5.phpt2 Test array_merge_recursive() function : usage variations - associative array with different values
6 * Testing the functionality of array_merge_recursive() by passing different
10 echo "*** Testing array_merge_recursive() : assoc. array with diff. values to \$arr1 argument ***\n…
54 // loop through each sub array of $arrays and check the behavior of array_merge_recursive()
61 var_dump( array_merge_recursive($arr1) );
65 var_dump( array_merge_recursive($arr1, $arr2) );
76 *** Testing array_merge_recursive() : assoc. array with diff. values to $arr1 argument ***
H A Darray_merge_replace_recursive_refs.phpt20 $arr3 = array_merge_recursive($arr1, $arr2);
H A Darray_merge_recursive_variation3.phpt2 Test array_merge_recursive() function : usage variations - different arrays for 'arr1' argument
7 * array_merge_recursive() behaves in an expected way.
10 echo "*** Testing array_merge_recursive() : Passing different arrays to \$arr1 argument ***\n";
75 // loop through each sub array of $arrays and check the behavior of array_merge_recursive()
82 var_dump( array_merge_recursive($arr1) );
86 var_dump( array_merge_recursive($arr1, $arr2) );
94 *** Testing array_merge_recursive() : Passing different arrays to $arr1 argument ***
H A Darray_replace_merge_recursive_ref.phpt19 array_merge_recursive($arr1, $arr2);
/php-src/Zend/tests/
H A Darray_merge_recursive_next_key_overflow.phpt2 Access on NULL pointer in array_merge_recursive()
6 array_merge_recursive(
15 array_merge_recursive(
/php-src/ext/standard/
H A Dbasic_functions.stub.php1705 function array_merge_recursive(array ...$arrays): array {} function

Completed in 37 milliseconds

12