get_size
get_size($path); - this function is used to get the size of the specified folder (in bytes)
the input Function accepts parameters:
$path – path to the folder to get the size of (string). It can be either absolute or relative (relative to the script folder).
After testing, the function returns the result of its work to the script :
folder size – the size of the specified folder - in bytes (string)false – there is no such folder (boolean)