|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-01-05 23:42 UTC] ab@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: ab
[2014-01-05 23:42 UTC] ab@php.net
[2014-01-05 23:53 UTC] ab@php.net
-Status: Closed
+Status: Not a bug
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 18 05:00:01 2025 UTC |
Description: ------------ fileatime() function is supposed to return 'last access time of the given file' however, in windows that is not the case. It only returns the date when the file was created. This may be related to windows file permission issue, which should be worth mentioning in the documentation. Test script: --------------- <?php /* * this only returns the date the file was created. */ var_dump(date('d', fileatime('foo.txt'))); //string '13' (length=2) Expected result: ---------------- I expect to see date in which the file was last accessed or modified. Actual result: -------------- 21