Display the drop-down list

array_merge()

« array_map | array_merge_recursive »
<?php
$array 
array_merge (
    
// array $array1
    
  // [array $array2]
);
?>
Result
$array = [
  
=> 'data',
]
Examples
#1 array_merge  ([=> "foo"],
 [
=> "bar"])
#2 array_merge  (["color" => "red"=> 2=> 4],
 [
=> "a"=> "b""color" => "green""shape" => "trapezoid"=> 4])
#3 array_merge  ([],
 [
=> "data"])
See also
array_combine, array_merge_recursive, array_replace