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

fflush

バッファーコンテンツをファイルにエクスポートします
名前:fflush
カテゴリ:ファイルシステム
対応言語:php
一言説明:オープンファイルにバッファコンテンツを出力します。

<span class="token php language-php"><span class="token delimiter important"><?php</span>
file <span class="token operator">=</span> <span class="token function">fopen</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"test.txt"</span> <span class="token punctuation">、</span> <span class="token string double-quoted-string">"r+"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>

<span class="token comment">//いくつかのコード</span>

<span class="token function">ffflush</span> <span class="token punctuation">(</span> <span class="token variable">$ file</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>
類似の関数
  • パスのファイル名パーツを返します basename

    basename

    パスのファイル名パーツを返します
  • 出力ファイル readfile

    readfile

    出力ファイル
  • ファイルシステムまたはディスクパーティションで使用可能なスペースを返します disk_free_space

    disk_free_space

    ファイルシステムまたはディスクパーティシ
  • ファイルを削除します unlink

    unlink

    ファイルを削除します
  • ファイルのイノード変更時間を取得します filectime

    filectime

    ファイルのイノード変更時間を取得します
  • ファイルの所有者を取得します fileowner

    fileowner

    ファイルの所有者を取得します
  • シンボリックリンクのターゲットを返します readlink

    readlink

    シンボリックリンクのターゲットを返します
  • ファイルポインターから行を読んで、CSVフィールドを解析する fgetcsv

    fgetcsv

    ファイルポインターから行を読んで、CSV