Home
last modified time | relevance | path

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

/PHP-5.5/ext/standard/tests/array/
H A Darray_merge_recursive_variation1.phpt2 Test array_merge_recursive() function : usage variations - unexpected values for $arr1 argument
5 /* Prototype : array array_merge_recursive(array $arr1[, array $...])
11 * Passing non array values to 'arr1' argument of array_merge_recursive() and see
95 var_dump( array_merge_recursive($arr1) );
99 var_dump( array_merge_recursive($arr1, $arr2) );
114 Warning: array_merge_recursive(): Argument #1 is not an array in %s on line %d
117 Warning: array_merge_recursive(): Argument #1 is not an array in %s on line %d
122 Warning: array_merge_recursive(): Argument #1 is not an array in %s on line %d
125 Warning: array_merge_recursive(): Argument #1 is not an array in %s on line %d
130 Warning: array_merge_recursive(): Argument #1 is not an array in %s on line %d
[all …]
H A Darray_merge_recursive_variation2.phpt5 /* Prototype : array array_merge_recursive(array $arr1[, array $...])
11 * Passing non array values to 'arr2' argument of array_merge_recursive() and see
92 var_dump( array_merge_recursive($arr1, $arr2) );
105 Warning: array_merge_recursive(): Argument #2 is not an array in %s on line %d
109 Warning: array_merge_recursive(): Argument #2 is not an array in %s on line %d
113 Warning: array_merge_recursive(): Argument #2 is not an array in %s on line %d
117 Warning: array_merge_recursive(): Argument #2 is not an array in %s on line %d
121 Warning: array_merge_recursive(): Argument #2 is not an array in %s on line %d
125 Warning: array_merge_recursive(): Argument #2 is not an array in %s on line %d
129 Warning: array_merge_recursive(): Argument #2 is not an array in %s on line %d
[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 );
21 $a1 = array_merge_recursive( $a1, $a2 );
28 $a1 = array_merge_recursive( $a1, $a2 );
29 $a1 = array_merge_recursive( $a1, $a2 );
34 Warning: array_merge_recursive(): recursion detected in %s on line 18
H A Darray_merge_recursive_error.phpt2 Test array_merge_recursive() function : error conditions
5 /* Prototype : array array_merge_recursive(array $arr1[, array $...])
10 echo "*** Testing array_merge_recursive() : error conditions ***\n";
13 echo "\n-- Testing array_merge_recursive() function with Zero arguments --\n";
14 var_dump( array_merge_recursive() );
19 *** Testing array_merge_recursive() : error conditions ***
21 -- Testing array_merge_recursive() function with Zero arguments --
23 Warning: array_merge_recursive() expects at least 1 parameter, 0 given in %s on line %d
H A Darray_merge_recursive_basic1.phpt2 Test array_merge_recursive() function : basic functionality - array with default keys
5 /* Prototype : array array_merge_recursive(array $arr1[, array $...])
10 echo "*** Testing array_merge_recursive() : array with default keys ***\n";
17 // Calling array_merge_recursive() with default arguments
19 var_dump( array_merge_recursive($arr1) );
21 // Calling array_merge_recursive() with more arguments
23 var_dump( array_merge_recursive($arr1,$arr2) );
24 var_dump( array_merge_recursive($arr1,$arr2,$arr3) );
29 *** 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 /* Prototype : array array_merge_recursive(array $arr1[, array $...])
10 echo "*** Testing array_merge_recursive() : associative arrays ***\n";
17 // Calling array_merge_recursive() with default arguments
19 var_dump( array_merge_recursive($arr1) );
21 // Calling array_merge_recursive() with more arguments
23 var_dump( array_merge_recursive($arr1,$arr2) );
24 var_dump( array_merge_recursive($arr1,$arr2,$arr3) );
29 *** Testing array_merge_recursive() : associative arrays ***
H A Darray_merge_recursive_variation6.phpt2 Test array_merge_recursive() function : usage variations - array with duplicate keys
5 /* Prototype : array array_merge_recursive(array $arr1[, array $...])
11 * Testing the functionality of array_merge_recursive() by passing
15 echo "*** Testing array_merge_recursive() : array with duplicate keys for \$arr1 argument ***\n";
27 var_dump( array_merge_recursive($arr1_numeric_key) );
28 var_dump( array_merge_recursive($arr1_string_key) );
31 var_dump( array_merge_recursive($arr1_numeric_key, $arr2) );
32 var_dump( array_merge_recursive($arr1_string_key, $arr2) );
37 *** Testing array_merge_recursive() : array with duplicate keys for $arr1 argument ***
H A Darray_merge_recursive_variation9.phpt2 Test array_merge_recursive() function : usage variations - common key and value(Bug#43559)
5 /* Prototype : array array_merge_recursive(array $arr1[, array $...])
11 * Testing the functionality of array_merge_recursive() by passing
15 echo "*** Testing array_merge_recursive() : arrays with common key and value ***\n";
23 var_dump( array_merge_recursive($arr1, $arr2) );
29 var_dump( array_merge_recursive($arr1, $arr2) );
35 var_dump( array_merge_recursive($arr1, $arr2) );
41 var_dump( array_merge_recursive($arr1, $arr2) );
47 var_dump( array_merge_recursive($arr1, $arr2) );
52 *** Testing array_merge_recursive() : arrays with common key and value ***
H A Darray_merge_recursive_variation7.phpt2 Test array_merge_recursive() function : usage variations - array with reference variables
5 /* Prototype : array array_merge_recursive(array $arr1[, array $...])
11 * Testing the functionality of array_merge_recursive() by passing
15 echo "*** Testing array_merge_recursive() : array with reference variables for \$arr1 argument ***\…
36 var_dump( array_merge_recursive($arr1) );
39 var_dump( array_merge_recursive($arr1, $arr2) );
44 *** 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
5 /* Prototype : array array_merge_recursive(array $arr1[, array $...])
11 * Testing the functionality of array_merge_recursive() by passing an array having binary values.
14 echo "*** Testing array_merge_recursive() : array with binary data for \$arr1 argument ***\n";
23 var_dump( array_merge_recursive($arr1) );
26 var_dump( array_merge_recursive($arr1, $arr2) );
31 *** 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
5 /* Prototype : array array_merge_recursive(array $arr1[, array $...])
11 * Testing the functionality of array_merge_recursive() by passing
15 echo "*** Testing array_merge_recursive() : two dimensional array for \$arr1 argument ***\n";
30 var_dump( array_merge_recursive($arr1) );
32 var_dump( array_merge_recursive($arr1, $arr2) );
36 var_dump( array_merge_recursive($arr1["array"]) );
38 var_dump( array_merge_recursive($arr1["array"], $arr2["array"]) );
43 *** Testing array_merge_recursive() : two dimensional array for $arr1 argument ***
H A Dbug43495.phpt2 Bug #43495 (array_merge_recursive() crashes with recursive arrays)
11 array_merge_recursive($a,$b);
20 Warning: array_merge_recursive(): recursion detected in %sbug43495.php on line %d
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 Darray_merge_recursive_variation4.phpt2 Test array_merge_recursive() function : usage variations - associative array with different keys
5 /* Prototype : array array_merge_recursive(array $arr1[, array $...])
11 * Testing the functionality of array_merge_recursive() by passing different
15 echo "*** Testing array_merge_recursive() : assoc. array with diff. keys to \$arr1 argument ***\n";
59 // loop through each sub array of $arrays and check the behavior of array_merge_recursive()
66 var_dump( array_merge_recursive($arr1) );
70 var_dump( array_merge_recursive($arr1, $arr2) );
81 *** Testing array_merge_recursive() : assoc. array with diff. keys to $arr1 argument ***
H A Darray_merge_recursive_variation5.phpt2 Test array_merge_recursive() function : usage variations - associative array with different values
5 /* Prototype : array array_merge_recursive(array $arr1[, array $...])
11 * Testing the functionality of array_merge_recursive() by passing different
15 echo "*** Testing array_merge_recursive() : assoc. array with diff. values to \$arr1 argument ***\n…
59 // loop through each sub array of $arrays and check the behavior of array_merge_recursive()
66 var_dump( array_merge_recursive($arr1) );
70 var_dump( array_merge_recursive($arr1, $arr2) );
81 *** Testing array_merge_recursive() : assoc. array with diff. values 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_variation3.phpt2 Test array_merge_recursive() function : usage variations - different arrays for 'arr1' argument
5 /* Prototype : array array_merge_recursive(array $arr1[, array $...])
12 * array_merge_recursive() behaves in an expected way.
15 echo "*** Testing array_merge_recursive() : Passing different arrays to \$arr1 argument ***\n";
80 // loop through each sub array of $arrays and check the behavior of array_merge_recursive()
87 var_dump( array_merge_recursive($arr1) );
91 var_dump( array_merge_recursive($arr1, $arr2) );
99 *** Testing array_merge_recursive() : Passing different arrays to $arr1 argument ***
/PHP-5.5/ext/standard/
H A Dphp_array.h68 PHP_FUNCTION(array_merge_recursive);
H A Darray.c2394 PHP_FUNCTION(array_merge_recursive) in PHP_FUNCTION() argument
H A Dbasic_functions.c3326 PHP_FE(array_merge_recursive, arginfo_array_merge_recursive)
/PHP-5.5/
H A DNEWS5590 - Fixed bug #48854 (array_merge_recursive modifies arrays after first one).
6986 - Fixed bug #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values).…
6994 - Fixed bug #43495 (array_merge_recursive() crashes with recursive arrays). (Ilia)
7034 - Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...). (Felipe)

Completed in 79 milliseconds