Current Location: Home> Function Categories> diskfreespace

diskfreespace

alias for disk_free_space
Name:diskfreespace
Category:File system
Programming Language:php
One-line Description:Alias ​​for disk_free_space().

Definition and usage

diskfreespace() function returns the available space in the directory. This function is an alias for disk_free_space() function.

Example

 <?php
echo diskfreespace ( "C:" ) ;
?>

Output:

 209693288558

grammar

 diskfreespace ( directory )
parameter describe
Directory Required. Specify the directory to be inspected.

illustrate

The directory parameter is a directory string. This function returns the available number of bytes based on the corresponding file system or disk partition.

Similar Functions
  • Get information about a connection linkinfo

    linkinfo

    Getinformationabouta
  • Test whether the file pointer reaches the end of the file feof

    feof

    Testwhetherthefilepo
  • Read files (safely used in binary files) fread

    fread

    Readfiles(safelyused
  • Rewind the file pointer position rewind

    rewind

    Rewindthefilepointer
  • Match file names with pattern fnmatch

    fnmatch

    Matchfilenameswithpa
  • Export buffered content to file fflush

    fflush

    Exportbufferedconten
  • Find file paths that match patterns glob

    glob

    Findfilepathsthatmat
  • Return to the directory part in the path dirname

    dirname

    Returntothedirectory
Popular Articles