Display the drop-down list

Test of var_export()

Example #1 : test success
Example #2 : test failed
Example #1
$input = array (
  
=> 
  array (
    
=> 1,
    
=> 2,
    
=> 
    array (
      
=> 'a',
      
=> 'b',
      
=> 'c',
    ),
  ),
)
$expected_output = $test_output
$test_output = array (
  
'result' => 
  array (
    
'mixed' => NULL,
    
'contents' => 'array (
  0 => 1,
  1 => 2,
  2 => 
  array (
    0 => \'a\',
    1 => \'b\',
    2 => \'c\',
  ),
)'
,
  ),
  
'php_version' => '7.1.33 Linux x86_64',
)
Example #2
$input = array (
  
=> 3.1,
  
=> true,
)
$expected_output = array (
  
'result' => 
  array (
    
'mixed' => '3.1000000000000001',
    
'contents' => '',
  ),
  
'php_version' => '5.6.8 WINNT i586',
)
$test_output = array (
  
'result' => 
  array (
    
'mixed' => '3.1',
    
'contents' => '',
  ),
  
'php_version' => '7.1.33 Linux x86_64',
)