显示下拉菜单

Test of array_replace() 本页面仅提供英文版本。

Example #1 : test success
Example #1
$input = [
  
=> [
    
=> 'orange',
    
=> 'banana',
    
=> 'apple',
    
=> 'raspberry',
  ],
  
=> [
    
=> 'pineapple',
    
=> 'cherry',
  ],
  
=> [
    
=> 'grape',
  ],
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'array' => [
      
=> 'grape',
      
=> 'banana',
      
=> 'apple',
      
=> 'raspberry',
      
=> 'cherry',
    ],
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]