显示下拉菜单

Test of mb_convert_case() 本页面仅提供英文版本。

Example #1 : test success
Example #2 : test success
Example #3 : test success
Example #4 : test success
Example #1
$input = [
  
=> 'mary had a Little lamb and she loved it so',
  
=> 'MB_CASE_UPPER',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'MARY HAD A LITTLE LAMB AND SHE LOVED IT SO',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
=> 'mary had a Little lamb and she loved it so',
  
=> 'MB_CASE_TITLE',
  
=> 'UTF-8',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'Mary Had A Little Lamb And She Loved It So',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #3
$input = [
  
=> 'Τάχιστη αλώπηξ βαφής ψημένη γη, δρασκελίζει υπέρ νωθρού κυνός',
  
=> 'MB_CASE_UPPER',
  
=> 'UTF-8',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'ΤΆΧΙΣΤΗ ΑΛΏΠΗΞ ΒΑΦΉΣ ΨΗΜΈΝΗ ΓΗ, ΔΡΑΣΚΕΛΊΖΕΙ ΥΠΈΡ ΝΩΘΡΟΎ ΚΥΝΌΣ',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #4
$input = [
  
=> 'Τάχιστη αλώπηξ βαφής ψημένη γη, δρασκελίζει υπέρ νωθρού κυνός',
  
=> 'MB_CASE_TITLE',
  
=> 'UTF-8',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'Τάχιστη Αλώπηξ Βαφής Ψημένη Γη, Δρασκελίζει Υπέρ Νωθρού Κυνός',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]