显示下拉菜单

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

Example #1 : test success
Example #2 : test success
Example #3 : test success
Example #4 : test success
Example #5 : test success
Example #6 : test success
Example #1
$input = [
  
=> '_DOUBLE_QUOTES_This is\\tan example\\nstring_DOUBLE_QUOTES_',
  
=> '_DOUBLE_QUOTES_ \\n\\t_DOUBLE_QUOTES_',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'This',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = '_DOUBLE_QUOTES_ \\n\\t_DOUBLE_QUOTES_'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'is',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #3
$input = [
  
=> '/something',
  
=> '/',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'something',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #4
$input = '/'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => false,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #5
$input = [
  
=> '/something',
  
=> '/',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'something',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #6
$input = '/'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => false,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]