Display the drop-down list

Test of print_r()

Example #1 : test success
Example #2 : test success
Example #1
$input = [
  
=> [
    
'a' => 'apple',
    
'b' => 'banana',
    
'c' => [
      
=> 'x',
      
=> 'y',
      
=> 'z',
    ],
  ],
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'mixed' => true,
    
'contents' => 'Array
(
    [a] => apple
    [b] => banana
    [c] => Array
        (
            [0] => x
            [1] => y
            [2] => z
        )

)
'
,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
=> [
    
'm' => 'monkey',
    
'foo' => 'bar',
    
'x' => [
      
=> 'x',
      
=> 'y',
      
=> 'z',
    ],
  ],
  
=> true,
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'mixed' => 'Array
(
    [m] => monkey
    [foo] => bar
    [x] => Array
        (
            [0] => x
            [1] => y
            [2] => z
        )

)
'
,
    
'contents' => '',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]