Bug #11024: fileatime do not return date of file but date of system
| From: | lan at v-r dot be | Date: | Tue, 22 May 2001 11:16:47 +0000 |
| Subject: | Bug #11024: fileatime do not return date of file but date of system | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56242@lists.php.net to get a copy of this message | ||
From: lan@v-r.be
Operating system: AIX 4.3
PHP version: 4.0.5
PHP Bug Type: Filesystem function related
Bug description: fileatime do not return date of file but date of system
I have a strange thing
there is my code :
print "[".date("d/m/Y",
fileatime("/usr/log/010521101953.82"))."-".
date("H:i:s",
filectime("/usr/log/010521101953.82"))."]".
"010521101953.82";
Result :
[22/05/2001-10:20:09] 010521101953.82
And when I run ls -l /usr/log/010521101953.82, I see
-rw-rw-rw- 1 usr staff 1806 May 21 10:20 /usr/log/010521101953.82
The time is good, but not the date.
--
Edit Bug report at: http://bugs.php.net/?id=11024&edit=1