Display the drop-down list

Test of similar_text()

Example #1 : test success
Example #2 : test success
Example #1
$input = [
  
=> 'PHP IS GREAT',
  
=> 'WITH MYSQL',
  
=> '$percent',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'percent' => 27.272727272727273,
    
'int' => 3,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
=> 'WITH MYSQL',
  
=> 'PHP IS GREAT',
  
=> '$percent',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'percent' => 18.181818181818183,
    
'int' => 2,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]