Display the drop-down list

Test of metaphone()

Example #1 : test success
Example #2 : test success
Example #3 : test success
Example #4 : test success
Example #1
$input = 'programming'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'PRKRMNK',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = 'programmer'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'PRKRMR',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #3
$input = [
  
=> 'programming',
  
=> 5,
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'PRKRM',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #4
$input = [
  
=> 'programmer',
  
=> 5,
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'PRKRM',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]