|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-02-23 19:56 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 08 16:00:01 2025 UTC |
Description: ------------ For files >4gb filesize returns negative values (seems that it overwrites the sign bit -> becomes negative) Same is with 2gb files and 32bit oses, but that has not been confirmed yet. Reproduce code: --------------- echo filesize('foo.bar'); //if foo.bar is > 4gb it returns a negative value Expected result: ---------------- something like 5234556 Actual result: -------------- something like -3456634