显示下拉菜单

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

Example #1 : test success
Example #2 : test success
Example #3 : test success
Example #4 : test success
Example #1
$input = [
  
'timezone' => 'UTC',
  
'time' => '12/28/2002',
  
=> '%U,%Y',
  
=> '$timestamp',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => '51,2002',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
'timezone' => 'UTC',
  
'time' => '12/30/2002',
  
=> '%U,%Y',
  
=> '$timestamp',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => '52,2002',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #3
$input = [
  
'timezone' => 'UTC',
  
'time' => '1/3/2003',
  
=> '%U,%Y',
  
=> '$timestamp',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => '00,2003',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #4
$input = [
  
'timezone' => 'UTC',
  
'time' => '1/10/2003',
  
=> '%U,%Y',
  
=> '$timestamp',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => '01,2003',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]