|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-06-14 16:09 UTC] sniper@php.net
[2002-07-04 07:47 UTC] oliveirb dot mallet at edf dot fr
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 05:00:01 2025 UTC |
I have already send a previus bug report. ID: 9921. The Source is : <?php $fhandle = opendir("."); while (false!=($file = readdir($fhandle))) { if ($file != "." && $file != "..") { if (!(is_dir($file))) { $fdata = filemtime($file); $fdata = date("d/m/Y",$fdata); $fsize = filesize($file); printf("%s %s %dn", $file, $fdata, $fsize); } clearstatcache(); closedir($fhandle); } } ?> The Output for every file (no matter filesize or file date) is : <filename> 01/01/1970 0 --------------------- I think i has something to do with the Y2K bug. Perl had the same bug.