Str::toBytes() Converts a filesize string with shortcuts like M, G or K to an integer value kirby/src/Toolkit/Str.php#L1026 Str::toBytes(mixed $size): int Parameters Name Type Default $size * mixed – Return type int Parent class Kirby\Toolkit\Str