Display the drop-down list

array_replace()

« array_reduce | array_replace_recursive »
<?php
$array 
array_replace (
    
// array $array1
    
// array $array2
    
  // [array $array3]
);
?>
Result
$array = [
  
=> 'grape',
  
=> 'banana',
  
=> 'apple',
  
=> 'raspberry',
  
=> 'cherry',
]
Examples
#1 array_replace  ([=> "orange"=> "banana"=> "apple"=> "raspberry"],
 [
=> "pineapple"=> "cherry"],
 [
=> "grape"])
See also
array_merge, array_replace_recursive