Gen. partnerAlgotech

PHP function disk_free_space()

Returns available space in directory

|
September 11, 2019

Availability in versions: PHP 4.1.0

Returns available space in directory

Parameters

Parameter Data type Default value Note
$directory string not A directory of the filesystem or disk partition.

Return values

float

|bool the number of available bytes as a float or false on failure.

Other resources

Official documentation for disk-free-space

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.