<?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 => 'ru',
  ),
  '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' => 'ru',
    '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); ?>