Display the drop-down list

Test of fileatime()

Example #1 : test not validated (platform dependant or random result etc.)
Example #2 : test success
Example #1
$input = '/home/micmap/cgi-bin/php-by-example/functions/f/fileatime.php'
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'int' => 1423299609,
    
'date' => '2015-02-07 09:00:09',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = '/path/to/foo.txt'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'int' => false,
  ],
  
'errors' => [
    
=> [
      
'code' => 2,
      
'message' => 'fileatime(): stat failed for /path/to/foo.txt',
    ],
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]