/PHP-8.2/ext/standard/tests/array/ |
H A D | array_merge_recursive_variation1.phpt | 2 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 D | array_merge_recursive_variation2.phpt | 2 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 D | bug42177.phpt | 2 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 D | array_merge_recursive_basic1.phpt | 2 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 D | array_merge_recursive_basic2.phpt | 2 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 D | array_merge_recursive_variation9.phpt | 2 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 D | array_merge_recursive_variation6.phpt | 2 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 D | array_merge_recursive_variation7.phpt | 2 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 D | array_merge_recursive_variation8.phpt | 2 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 D | array_merge_recursive_variation10.phpt | 2 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 D | bug65251.phpt | 2 Bug #65251: array_merge_recursive() recursion detection broken 8 array_merge_recursive($GLOBALS, $GLOBALS);
|
H A D | bug70808.phpt | 2 Bug #70808 (array_merge_recursive corrupts memory of unset items) 11 $result = array_merge_recursive($arr1, $arr2);
|
H A D | bug76505.phpt | 2 Bug #76505 (array_merge_recursive() is duplicating sub-array keys) 18 $array3 = array_merge_recursive( $array1, $array2 );
|
H A D | bug24198.phpt | 2 Bug #24198 (array_merge_recursive() invalid recursion detection) 7 var_dump(array_merge_recursive($c, $c));
|
H A D | bug48854.phpt | 2 Bug #48854 (array_merge_recursive modifies arrays after first one) 20 $merged = array_merge_recursive($array1, $array2);
|
H A D | bug79930.phpt | 2 Bug #79930: array_merge_recursive() crashes when called with array with single reference 14 $m = array_merge_recursive(['value' => 'a'], $array);
|
H A D | bug43495.phpt | 2 Bug #43495 (array_merge_recursive() crashes with recursive arrays) 13 array_merge_recursive($a,$b);
|
H A D | array_merge_recursive_variation4.phpt | 2 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 D | bug20381.phpt | 2 Bug #20381 (array_merge_recursive mangles input arrays) 22 array_merge_recursive( $a, $b );
|
H A D | array_merge_recursive_variation5.phpt | 2 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 D | gh16053.phpt | 13 var_dump(array_merge_recursive($arr1, $arr2));
|
H A D | array_merge_replace_recursive_refs.phpt | 20 $arr3 = array_merge_recursive($arr1, $arr2);
|
H A D | array_merge_recursive_variation3.phpt | 2 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 D | array_replace_merge_recursive_ref.phpt | 19 array_merge_recursive($arr1, $arr2);
|
/PHP-8.2/Zend/tests/ |
H A D | array_merge_recursive_next_key_overflow.phpt | 2 Access on NULL pointer in array_merge_recursive() 6 array_merge_recursive( 15 array_merge_recursive(
|