Easy Tutorial
❮ Func Libxml Get Last Error Func Mysqli Dump Debug Info ❯

PHP disk_total_space() Function



Definition and Usage

The disk_total_space() function returns the total size of a specified directory in bytes.

Syntax

Parameter Description
directory Required. Specifies the directory to check.

Example

The above code will output:


❮ Func Libxml Get Last Error Func Mysqli Dump Debug Info ❯