显示下拉菜单

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

Example #1 : test success
Example #1
$input = 0
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'array' => [
      
'months' => [
        
=> 'January',
        
=> 'February',
        
=> 'March',
        
=> 'April',
        
=> 'May',
        
=> 'June',
        
=> 'July',
        
=> 'August',
        
=> 'September',
        
10 => 'October',
        
11 => 'November',
        
12 => 'December',
      ],
      
'abbrevmonths' => [
        
=> 'Jan',
        
=> 'Feb',
        
=> 'Mar',
        
=> 'Apr',
        
=> 'May',
        
=> 'Jun',
        
=> 'Jul',
        
=> 'Aug',
        
=> 'Sep',
        
10 => 'Oct',
        
11 => 'Nov',
        
12 => 'Dec',
      ],
      
'maxdaysinmonth' => 31,
      
'calname' => 'Gregorian',
      
'calsymbol' => 'CAL_GREGORIAN',
    ],
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]