Rewrite getBytesFromShorthand prose

This commit is contained in:
Josh Soref 2023-03-25 22:09:11 -04:00
parent 7183f36239
commit 40094bbda7

View file

@ -532,7 +532,7 @@ class Strings
} }
/** /**
* This function converts a PHP's shorthand notation string for file sizes into an integer number of total bytes. * This function converts a file size string written in PHP's shorthand notation 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 example: The string for shorthand notation of '2M' (which is 2,097,152 Bytes) is converted to 2097152
* @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 * @param string $shorthand