<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.streamwrapper.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'streamwrapper.stream-flush.php',
    1 => 'streamWrapper::stream_flush',
    2 => '出力をフラッシュする',
  ),
  'up' => 
  array (
    0 => 'class.streamwrapper.php',
    1 => 'streamWrapper',
  ),
  'prev' => 
  array (
    0 => 'streamwrapper.stream-eof.php',
    1 => 'streamWrapper::stream_eof',
  ),
  'next' => 
  array (
    0 => 'streamwrapper.stream-lock.php',
    1 => 'streamWrapper::stream_lock',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/stream/streamwrapper/stream-flush.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="streamwrapper.stream-flush" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">streamWrapper::stream_flush</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.3.2, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">streamWrapper::stream_flush</span> &mdash; <span class="dc-title">出力をフラッシュする</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-streamwrapper.stream-flush-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>streamWrapper::stream_flush</strong></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   このメソッドがコールされるのは、<span class="function"><a href="function.fflush.php" class="function">fflush()</a></span> への対応をする場合やストリームを閉じる場合です。
   フラッシュしていないデータが残っていれば、それを書き出します。
  </p>
  <p class="para">
   データをストリームにキャッシュした状態でまだストレージに格納していないのなら、
   ここで格納しなければなりません。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-streamwrapper.stream-flush-parameters">
  <h3 class="title">パラメータ</h3>
  <p class="para">この関数にはパラメータはありません。</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-streamwrapper.stream-flush-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="para">
   キャッシュデータが正常に格納できた (あるいは格納するデータがなかった)
   場合に <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>、データを格納できなかった場合に <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> を返します。
  </p>
 </div>




 <div class="refsect1 notes" id="refsect1-streamwrapper.stream-flush-notes">
  <h3 class="title">注意</h3>
  <blockquote class="note"><p><strong class="note">注意</strong>: 
   <p class="para">
    実装されていない場合の戻り値は <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> です。
   </p>
  </p></blockquote>
 </div>

 
 <div class="refsect1 seealso" id="refsect1-streamwrapper.stream-flush-seealso">
  <h3 class="title">参考</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.fflush.php" class="function" rel="rdfs-seeAlso">fflush()</a> - 出力をファイルにフラッシュする</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>