-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 05/10/2015 00:10, somebody anon a écrit :

"someone.wanted.to.be.unkn...@gmail.com"

Can't be serious...

> Hi PHP community. I am a developer with few years experience in PHP
> and now want to propose some addition to default "filesystem"
> extension. There's money_format and number_format functions to
> format money and number values in human-readable format, but there
> is not any "size_format" function that does the same - reformat an
> integer that holds size in bytes in well-formed string representing
> size in one of "big" units like MB or GB. So I can implement
> function to do this with following interface:
>> size_format($format, $bytes, $unit = null)
> that will format size like printf with taking in accoun using unit
> and multiplier (1k or 1024). So, I wait for responses. Thanks for
> attention.
> 

Don't see any benefit.
Different locales will need different output (US=KiB, Fr=Kio)



Remi.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlYTvLAACgkQYUppBSnxahghugCfZzYhBzAaoHjSS4TiwYtO2Zom
oP0AoKC/vAjcQ6f4/p+LDxa3EWoQ+I8J
=V6lZ
-----END PGP SIGNATURE-----

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to