當前位置: 首頁> 函數類別大全> diskfreespace

diskfreespace

disk_free_space 的別名
名稱:diskfreespace
分類:文件系統
所屬語言:php
一句話介紹:disk_free_space() 的別名。

定義和用法

diskfreespace()函數返回目錄中的可用空間。該函數是disk_free_space()函數的別名。

實例

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

輸出:

 209693288558

文法

diskfreespace ( directory )
參數 描述
directory 必需。規定要檢查的目錄。

說明

directory參數是一個目錄的字符串。該函數將根據相應的文件系統或磁盤分區返回可用的字節數。

同類函數
  • 將整個文件讀入一個字符串 file_get_contents

    file_get_contents

    將整個文件讀入一個字符串
  • 獲取文件的最後訪問時間 fileatime

    fileatime

    獲取文件的最後訪問時間
  • 從文件中格式化輸入 fscanf

    fscanf

    從文件中格式化輸入
  • disk_free_space 的別名 diskfreespace

    diskfreespace

    disk_free_space的別名
  • 獲取realpath 緩存條目 realpath_cache_get

    realpath_cache_get

    獲取realpath緩存條目
  • 輸出文件指針處的所有剩餘數據 fpassthru

    fpassthru

    輸出文件指針處的所有剩餘數據
  • 參見unlink() 或unset()(PHP 沒有delete 關鍵詞或函數) delete

    delete

    參見unlink()或unset()(P
  • 建立一個具有唯一文件名的文件 tempnam

    tempnam

    建立一個具有唯一文件名的文件
熱門文章