現在の位置: ホーム> 関数カテゴリ一覧> disk_total_space

disk_total_space

ファイルシステムまたはディスクパーティションの合計サイズを返します
名前:disk_total_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_total_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>

出力は次のようになります:

 509693888668
類似の関数
  • ファイル全体を文字列に読み取ります file_get_contents

    file_get_contents

    ファイル全体を文字列に読み取ります
  • 一時ファイルを作成します tmpfile

    tmpfile

    一時ファイルを作成します
  • ファイルポインターから行を読んで、HTMLタグを除外します fgetss

    fgetss

    ファイルポインターから行を読んで、HTM
  • disk_free_spaceのエイリアス diskfreespace

    diskfreespace

    disk_free_spaceのエイリア
  • ファイルポインターから行を読んで、CSVフィールドを解析する fgetcsv

    fgetcsv

    ファイルポインターから行を読んで、CSV
  • パスのファイル名パーツを返します basename

    basename

    パスのファイル名パーツを返します
  • 開いたファイルポインターを介してファイル情報を取得します fstat

    fstat

    開いたファイルポインターを介してファイル
  • シンボリックリンクの所有者を変更します lchown

    lchown

    シンボリックリンクの所有者を変更します