Display the drop-down list

Test of array_diff_assoc()

Example #1 : test success
Example #2 : test success
Example #1
$input = [
  
=> [
    
'a' => 'green',
    
'b' => 'brown',
    
'c' => 'blue',
    
=> 'red',
  ],
  
=> [
    
'a' => 'green',
    
=> 'yellow',
    
=> 'red',
  ],
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'array' => [
      
'b' => 'brown',
      
'c' => 'blue',
      
=> 'red',
    ],
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
=> [
    
=> 0,
    
=> 1,
    
=> 2,
  ],
  
=> [
    
=> '00',
    
=> '01',
    
=> '2',
  ],
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'array' => [
      
=> 0,
      
=> 1,
    ],
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]