mirror of
https://github.com/friendica/friendica
synced 2024-11-10 09:02:53 +00:00
Update src/Util/Strings.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
6c73077bbc
commit
ce56cabd9f
1 changed files with 1 additions and 2 deletions
|
@ -519,8 +519,7 @@ class Strings
|
|||
/**
|
||||
* This function converts a PHP's shorhand notation string for file sizes in to an integer number of total bytes.
|
||||
* For example: The string for shorthand notation of '2M' (which is 2,097,152 Bytes) is converted to 2097152
|
||||
* For more information about file size shorhand notation see:
|
||||
* https://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes
|
||||
* @see https://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes
|
||||
* @param string $shorthand
|
||||
* @return int
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue