Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

filesize2bytes()

Description

Converts human readable file size (e.g. 10 MB, 200.20 GB) into bytes.

Parameters

ColumnTypeDefaultDescription
$str string

Return

int the result is in bytes

This article was last updated 5th May 2024 09:35 Europe/London time based on the source file dated 3rd May 2024 14:45 Europe/London time.