Page MenuHomePhorge

function phutil_parse_bytes($input)
libphutil Technical Documentation (Core Utilities)

Parse a human-readable byte description (like "6MB") into an integer.

Parameters
string$inputHuman-readable description.
Return
intNumber of represented bytes.