Display the drop-down list

Test of ucfirst()

Example #1 : test success
Example #2 : test success
Example #1
$input = 'hello world!'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'Hello world!',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = 'HELLO WORLD!'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'HELLO WORLD!',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]