note 103197 added to function.filesize
| From: | AlexAulbach at osu1 dot php dot net | Date: | Thu, 31 Mar 2011 08:20:49 +0000 |
| Subject: | note 103197 added to function.filesize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-178369@lists.php.net to get a copy of this message | ||
Note, that the official IEC-prefix for kilobyte, megabyte and so on are KiB, MiB, TiB and so on.
See http://en.wikipedia.org/wiki/Tebibyte
At first glance this may sound like "What the hell? Everybody knows, that we mean 1024 not 1000
and the difference is not too big, so what?". But in about 10 years, the size of harddisks (and
files on them) reaches the petabyte-limit and then the difference between PB and PiB is magnificent.
Better to get used to it now. :)
(I added the same note a view days before in http://php.net/manual/en/function.memory-get-usage.php
and found it might be also useful here)
----
Server IP: 217.160.235.204
Probable Submitter: 212.114.201.34
----
Manual Page -- http://www.php.net/manual/en/function.filesize.php
Edit -- https://master.php.net/note/edit/103197
Del: integrated -- https://master.php.net/note/delete/103197/integrated
Del: useless -- https://master.php.net/note/delete/103197/useless
Del: bad code -- https://master.php.net/note/delete/103197/bad+code
Del: spam -- https://master.php.net/note/delete/103197/spam
Del: non-english -- https://master.php.net/note/delete/103197/non-english
Del: in docs -- https://master.php.net/note/delete/103197/in+docs
Del: other reasons-- https://master.php.net/note/delete/103197
Reject -- https://master.php.net/note/reject/103197
Search -- https://master.php.net/manage/user-notes.php