Display the drop-down list

Test of mime_content_type()

Example #1 : test success
Example #2 : test success
Example #1
$input = '/tmp/flower.jpg'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'image/jpeg',
  ],
  
'php_version' => '7.1.32 Linux x86_64',
]
Example #2
$input = '/tmp/test.php'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'text/x-php',
  ],
  
'php_version' => '7.1.32 Linux x86_64',
]