convert string of format n[units] to bytes
units can be one of B, KB, MB, GB, TB, PB, EB, ZB or YB (case-insensitive).
public static convertToBytes ( $val ) : mixed | ||
$val | ||
return | mixed |
public static convertToBytes ( $val ) : mixed | ||
$val | ||
return | mixed |