Use disk_free_space() to Get Free Disk Space

Use disk_free_space() to Get Free Disk Space

The disk_free_space() function returns the number of free bytes on a filesystem or disk partition. This is useful for monitoring disk usage.

← Back to Tips List