Testfile is '/tmp/test-filemtime'.
Testfile 'test-filemtime' mtime should be from touch 0, is 1408898104.
The mtime represents Sun, 24 Aug 2014 18:35:04 +0200
Testfile 'test-filemtime' mtime should be from touch 1408896000, is 1408898104.
The mtime represents Sun, 24 Aug 2014 18:35:04 +0200
Output for 5.5.17, 7.0.23, 7.0.26, 7.2.25, 7.3.13
Testfile is '/tmp/test-filemtime'.
Testfile 'test-filemtime' mtime should be from touch 0, is 1408898104.
The mtime represents Sun, 24 Aug 2014 18:35:04 +0200
Warning: filemtime(): stat failed for /tmp/test-filemtime in /in/6VDvn on line 29
Testfile 'test-filemtime' mtime should be from touch 1408896000, is 0.
The mtime represents Thu, 01 Jan 1970 01:00:00 +0100
Warning: unlink(/tmp/test-filemtime): No such file or directory in /in/6VDvn on line 33
Output for 5.4.18, 5.4.44, 5.5.6, 5.6.8, 7.0.30
Testfile is '/tmp/test-filemtime'.
Testfile 'test-filemtime' mtime should be from touch 0, is 1408898104.
The mtime represents Sun, 24 Aug 2014 18:35:04 +0200
Testfile 'test-filemtime' mtime should be from touch 1408896000, is 1408898104.
The mtime represents Sun, 24 Aug 2014 18:35:04 +0200
Warning: unlink(/tmp/test-filemtime): No such file or directory in /in/6VDvn on line 33
Output for 7.0.3
Testfile is '/tmp/test-filemtime'.
Warning: filemtime(): stat failed for /tmp/test-filemtime in /in/6VDvn on line 23
Testfile 'test-filemtime' mtime should be from touch 0, is 0.
The mtime represents Thu, 01 Jan 1970 01:00:00 +0100
Testfile 'test-filemtime' mtime should be from touch 1408896000, is 1408898104.
The mtime represents Sun, 24 Aug 2014 18:35:04 +0200
Output for 5.4.26
Testfile is '/tmp/test-filemtime'.
Warning: touch(): Utime failed: No such file or directory in /in/6VDvn on line 21
Warning: filemtime(): stat failed for /tmp/test-filemtime in /in/6VDvn on line 23
Testfile 'test-filemtime' mtime should be from touch 0, is 0.
The mtime represents Thu, 01 Jan 1970 01:00:00 +0100
Testfile 'test-filemtime' mtime should be from touch 1408896000, is 1408898104.
The mtime represents Sun, 24 Aug 2014 18:35:04 +0200
Testfile is '/tmp/test-filemtime'.
Testfile 'test-filemtime' mtime should be from touch 0, is 0.
The mtime represents Thu, 01 Jan 1970 01:00:00 +0100
Testfile 'test-filemtime' mtime should be from touch 1408896000, is 1408896000.
The mtime represents Sun, 24 Aug 2014 18:00:00 +0200