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

disk_free_space

返回文件系統或磁盤分區上的可用空間
名稱:disk_free_space
分類:文件系統
所屬語言:php
一句話介紹:返回目錄的可用空間。

實例

<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>

輸出:

 209693288558
同類函數
  • is_writable 的別名 is_writeable

    is_writeable

    is_writable的別名
  • 從文件指針中讀取一行 fgets

    fgets

    從文件指針中讀取一行
  • 更改文件所有者 chown

    chown

    更改文件所有者
  • 從文件中格式化輸入 fscanf

    fscanf

    從文件中格式化輸入
  • 獲取文件權限 fileperms

    fileperms

    獲取文件權限
  • stream_set_write_buffer 的別名 set_file_buffer

    set_file_buffer

    stream_set_write_buf
  • 返回規範化的絕對路徑名 realpath

    realpath

    返回規範化的絕對路徑名
  • 將文件截斷到給定的長度 ftruncate

    ftruncate

    將文件截斷到給定的長度