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
  • Find file paths that match patterns glob

    glob

    Findfilepathsthatmat
  • Read characters from file pointer fgetc

    fgetc

    Readcharactersfromfi
  • Rename a file or directory rename

    rename

    Renameafileordirecto
  • alias for stream_set_write_buffer set_file_buffer

    set_file_buffer

    aliasforstream_set_w
  • Format the line to CSV and write to the file pointer fputcsv

    fputcsv

    FormatthelinetoCSVan
  • Copy the file copy

    copy

    Copythefile
  • Lightweight consultation file locking flock

    flock

    Lightweightconsultat
  • Get information about a connection linkinfo

    linkinfo

    Getinformationabouta