note 87711 added to function.disk-free-space
| From: | sam at osu1 dot php dot net | Date: | Wed, 17 Dec 2008 21:52:16 +0000 |
| Subject: | note 87711 added to function.disk-free-space | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-148282@lists.php.net to get a copy of this message | ||
Nice, but please be aware of the prefixes.
SI specifies a lower case 'k' as 1'000 prefix.
It doesn't make sense to use an upper case 'K' as binary prefix,
while the decimal Mega (M and following) prefixes in SI are uppercase.
Furthermore, there are REAL binary prefixes since a few years.
Do it the (newest and recommended) "IEC" way:
KB's are calculated decimal; power of 10 (1000 bytes each)
KiB's are calculated binary; power of 2 (1024 bytes each).
The same goes for MB, MiB and so on...
Feel free to read:
http://en.wikipedia.org/wiki/Binary_prefix
----
Server IP: 69.147.83.197
Probable Submitter: 62.202.30.173
----
Manual Page -- http://www.php.net/manual/en/function.disk-free-space.php
Edit -- https://master.php.net/note/edit/87711
Del: integrated -- https://master.php.net/note/delete/87711/integrated
Del: useless -- https://master.php.net/note/delete/87711/useless
Del: bad code -- https://master.php.net/note/delete/87711/bad+code
Del: spam -- https://master.php.net/note/delete/87711/spam
Del: non-english -- https://master.php.net/note/delete/87711/non-english
Del: in docs -- https://master.php.net/note/delete/87711/in+docs
Del: other reasons-- https://master.php.net/note/delete/87711
Reject -- https://master.php.net/note/reject/87711
Search -- https://master.php.net/manage/user-notes.php