function phutil_parse_bytes($input)libphutil Technical Documentation (Core Utilities)
function phutil_parse_bytes($input)
libphutil Technical Documentation (Core Utilities)
Parse a human-readable byte description (like "6MB") into an integer.
Parameters
string | $input | Human-readable description. |
Return
int | Number of represented bytes. |
- Defined
- src/utils/viewutils.php:94