Display the drop-down list

Test of setlocale()

Example #1 : test not validated (platform dependant or random result etc.)
Example #2 : test not validated (platform dependant or random result etc.)
Example #3 : test not validated (platform dependant or random result etc.)
Example #4 : test not validated (platform dependant or random result etc.)
Example #1
$input = [
  
=> 'LC_ALL',
  
=> 'nl_NL',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'string' => 'nl_NL',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
=> 'LC_ALL',
  
=> 'de_DE@euro',
  
=> 'de_DE',
  
=> 'de',
  
=> 'ge',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'string' => 'de_DE@euro',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #3
$input = [
  
=> 'LC_ALL',
  
=> 'nld_nld',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'string' => false,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #4
$input = [
  
=> 'LC_ALL',
  
=> 'de_DE@euro',
  
=> 'de_DE',
  
=> 'deu_deu',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'string' => 'de_DE@euro',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]