Home
last modified time | relevance | path

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

12

/PHP-7.4/ext/standard/tests/array/
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_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
15 echo "*** Testing array_merge_recursive() : Passing non array values to \$arr1 argument ***\n";
88 // loop through each element of $arrays and check the behavior of array_merge_recursive()
95 var_dump( array_merge_recursive($arr1) );
99 var_dump( array_merge_recursive($arr1, $arr2) );
110 *** Testing array_merge_recursive() : Passing non array values to $arr1 argument ***
114 Warning: array_merge_recursive(): Expected parameter 1 to be an array, int given in %s on line %d
117 Warning: array_merge_recursive(): Expected parameter 1 to be an array, int given in %s on line %d
[all …]
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() without arguments
19 var_dump( array_merge_recursive() );
21 // Calling array_merge_recursive() with default arguments
23 var_dump( array_merge_recursive($arr1) );
25 // Calling array_merge_recursive() with more arguments
27 var_dump( array_merge_recursive($arr1,$arr2) );
28 var_dump( array_merge_recursive($arr1,$arr2,$arr3) );
[all …]
H A Darray_merge_recursive_variation2.phpt2 Test array_merge_recursive() function : usage variations - unexpected values for $arr2 argument
5 /* Prototype : array array_merge_recursive(array $arr1[, array $...])
11 * Passing non array values to 'arr2' argument of array_merge_recursive() and see
15 echo "*** Testing array_merge_recursive() : Passing non array values to \$arr2 argument ***\n";
88 // loop through each element of $arrays and check the behavior of array_merge_recursive()
92 var_dump( array_merge_recursive($arr1, $arr2) );
102 *** Testing array_merge_recursive() : Passing non array values to $arr2 argument ***
105 Warning: array_merge_recursive(): Expected parameter 2 to be an array, int given in %s on line %d
109 Warning: array_merge_recursive(): Expected parameter 2 to be an array, int given in %s on line %d
113 Warning: array_merge_recursive(): Expected parameter 2 to be an array, int given in %s on line %d
[all …]
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 Dbug65251.phpt2 Bug #65251: array_merge_recursive() recursion detection broken
6 array_merge_recursive($GLOBALS, $GLOBALS)
10 Warning: array_merge_recursive(): recursion detected in %s on line %d
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 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 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_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_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
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 ***
H A Darray_replace_merge_recursive_ref.phpt19 array_merge_recursive($arr1, $arr2);
/PHP-7.4/ext/standard/
H A Dphp_array.h66 PHP_FUNCTION(array_merge_recursive);
/PHP-7.4/
H A DUPGRADING363 . array_merge() and array_merge_recursive() may now be called without any

Completed in 57 milliseconds

12