現在の位置: ホーム> 関数カテゴリ一覧> 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>
類似の関数
  • ファイルへの変更を同期する(メタデータを含む) fsync

    fsync

    ファイルへの変更を同期する(メタデータを
  • ファイルまたはディレクトリが存在するかどうかを確認します file_exists

    file_exists

    ファイルまたはディレクトリが存在するかど
  • アップロードされたファイルを新しい場所に移動します move_uploaded_file

    move_uploaded_file

    アップロードされたファイルを新しい場所に
  • 指定されたファイル名が通常のファイルであるかどうかを判断します is_file

    is_file

    指定されたファイル名が通常のファイルであ
  • ファイルシステムまたはディスクパーティションの合計サイズを返します disk_total_space

    disk_total_space

    ファイルシステムまたはディスクパーティシ
  • RealPathキャッシュエントリを取得します realpath_cache_get

    realpath_cache_get

    RealPathキャッシュエントリを取得
  • disk_free_spaceのエイリアス diskfreespace

    diskfreespace

    disk_free_spaceのエイリア
  • シンボリックリンクの所有者を変更します lchown

    lchown

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