Display the drop-down list

Test of mb_check_encoding()

Example #1 : test success
Example #2 : test success
Example #3 : test success
Example #1
$input = [
  
=> 'Hello world',
  
=> 'ASCII',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => true,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
=> 'está',
  
=> 'ASCII',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => false,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #3
$input = [
  
=> '\\xe0 is a grave',
  
=> 'ISO-8859-1',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => true,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]