Display the drop-down list

Test of ltrim()

Example #1 : test success
Example #2 : test success
Example #3 : test success
Example #4 : test success
Example #1
$input = '_DOUBLE_QUOTES_\\t\\tThese are a few words :) ...  _DOUBLE_QUOTES_'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'These are a few words :) ...  ',
  ],
  
'php_version' => '7.1.32 Linux x86_64',
]
Example #2
$input = [
  
=> '_DOUBLE_QUOTES_\\t\\tThese are a few words :) ...  _DOUBLE_QUOTES_',
  
=> '_DOUBLE_QUOTES_ \\t._DOUBLE_QUOTES_',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'These are a few words :) ...  ',
  ],
  
'php_version' => '7.1.32 Linux x86_64',
]
Example #3
$input = [
  
=> '_DOUBLE_QUOTES_Hello World_DOUBLE_QUOTES_',
  
=> 'Hdle',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'o World',
  ],
  
'php_version' => '7.1.32 Linux x86_64',
]
Example #4
$input = [
  
=> '_DOUBLE_QUOTES_\\tExample string\\n_DOUBLE_QUOTES_',
  
=> '_DOUBLE_QUOTES_\\x00..\\x1F_DOUBLE_QUOTES_',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'Example string
'
,
  ],
  
'php_version' => '7.1.32 Linux x86_64',
]