|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-06-11 02:23 UTC] postings-php-bug at hans-spath dot de
Description:
------------
Several filesystem functions fail on files greater than 2GB.
Affected functions are:
- fileatime()
- filectime()
- filegroup()
- fileinode()
- filemtime()
- fileowner()
- fileperms()
- filesize() - I wouldn't complain if only this was affected.
- filetype()
- stat()
(maybe more...)
Reproduce code:
---------------
echo fileatime("file-greater-than-2gb");
Expected result:
----------------
1000
Actual result:
--------------
Warning: fileowner(): stat failed for file-greater-than-2gb in Command line code on line 1
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 19:00:01 2025 UTC |
% ./php -v; ./php -r 'echo fileatime("file-greater-than-2gb"), "\n";' PHP 5.2.0-dev (cli) (built: Jun 11 2006 17:48:17) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies Warning: fileatime(): stat failed for file-greater-than-2gb in Command line code on line 1