Current Location: Home> Function Categories> disk_free_space

disk_free_space

Returns the available space on the file system or disk partition
Name:disk_free_space
Category:File system
Programming Language:php
One-line Description:Returns the available space in the directory.

Example

 <span class="token php language-php"><span class="token delimiter important"><?php</span>
<span class="token keyword">echo</span> <span class="token function">disk_free_space</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"C:"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

Output:

 209693288558
Similar Functions
  • Create a hard connection link

    link

    Createahardconnectio
  • Rewind the file pointer position rewind

    rewind

    Rewindthefilepointer
  • Open a file or URL fopen

    fopen

    OpenafileorURL
  • Find file paths that match patterns glob

    glob

    Findfilepathsthatmat
  • Delete files unlink

    unlink

    Deletefiles
  • Give information about a file or symbol connection lstat

    lstat

    Giveinformationabout
  • Read a line from a file pointer and filter out HTML tags fgetss

    fgetss

    Readalinefromafilepo
  • Group of files obtained filegroup

    filegroup

    Groupoffilesobtained