Str::toBytes()
Converts a filesize string with shortcuts like M, G or K to an integer value
Str::toBytes(string $size): int
Parameters
Name | Type | Default |
---|---|---|
$sizerequired | string |
no default value |
Return type
int
Converts a filesize string with shortcuts like M, G or K to an integer value
Str::toBytes(string $size): int
Name | Type | Default |
---|---|---|
$sizerequired | string |
no default value |
int