Display the drop-down list

Test of strtotime()

Example #1 : test not validated (platform dependant or random result etc.)
Example #2 : test success
Example #3 : test not validated (platform dependant or random result etc.)
Example #4 : test not validated (platform dependant or random result etc.)
Example #5 : test not validated (platform dependant or random result etc.)
Example #6 : test not validated (platform dependant or random result etc.)
Example #7 : test not validated (platform dependant or random result etc.)
Example #1
$input = [
  
'timezone' => 'UTC',
  
=> 'now',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'int' => 1563739715,
    
'date' => 'Sunday 21st of July 2019 08:08:35 PM',
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #2
$input = [
  
'timezone' => 'UTC',
  
=> '10 September 2000',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'int' => 968544000,
    
'date' => 'Sunday 10th of September 2000 12:00:00 AM',
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #3
$input = [
  
'timezone' => 'UTC',
  
=> '+1 day',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'int' => 1563826115,
    
'date' => 'Monday 22nd of July 2019 08:08:35 PM',
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #4
$input = [
  
'timezone' => 'UTC',
  
=> '+1 week',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'int' => 1564344515,
    
'date' => 'Sunday 28th of July 2019 08:08:35 PM',
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #5
$input = [
  
'timezone' => 'UTC',
  
=> '+1 week 2 days 4 hours 2 seconds',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'int' => 1564531717,
    
'date' => 'Wednesday 31st of July 2019 12:08:37 AM',
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #6
$input = [
  
'timezone' => 'UTC',
  
=> 'next Thursday',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'int' => 1564012800,
    
'date' => 'Thursday 25th of July 2019 12:00:00 AM',
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #7
$input = [
  
'timezone' => 'UTC',
  
=> 'last Monday',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'int' => 1563148800,
    
'date' => 'Monday 15th of July 2019 12:00:00 AM',
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]