<?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-eof.php',
    1 => 'streamWrapper::stream_eof',
    2 => 'Проверяет достижение конца файла по файловому указателю',
  ),
  'up' => 
  array (
    0 => 'class.streamwrapper.php',
    1 => 'streamWrapper',
  ),
  'prev' => 
  array (
    0 => 'streamwrapper.stream-close.php',
    1 => 'streamWrapper::stream_close',
  ),
  'next' => 
  array (
    0 => 'streamwrapper.stream-flush.php',
    1 => 'streamWrapper::stream_flush',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    'path' => 'reference/stream/streamwrapper/stream-eof.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="streamwrapper.stream-eof" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">streamWrapper::stream_eof</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_eof</span> &mdash; <span class="dc-title">
   Проверяет достижение конца файла по файловому указателю
  </span></p>

 </div>

 <div class="refsect1 description" id="refsect1-streamwrapper.stream-eof-description">
  <h3 class="title">Описание</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>streamWrapper::stream_eof</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.feof.php" class="function">feof()</a></span>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-streamwrapper.stream-eof-parameters">
  <h3 class="title">Список параметров</h3>
  
<p class="para">
 Сигнатура функции не содержит параметров.
</p>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-streamwrapper.stream-eof-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-eof-notes">
  <h3 class="title">Примечания</h3>
  <div class="warning"><strong class="warning">Внимание</strong>
    <p class="para">
      При чтении файла целиком (например, функцией
      <span class="function"><a href="function.file-get-contents.php" class="function">file_get_contents()</a></span>), PHP будет вызывает
      <span class="methodname"><a href="streamwrapper.stream-read.php" class="methodname">streamWrapper::stream_read()</a></span> и вместе с ним
      <span class="methodname"><strong>streamWrapper::stream_eof()</strong></span> в цикле, пока
      <span class="methodname"><a href="streamwrapper.stream-read.php" class="methodname">streamWrapper::stream_read()</a></span> возвращает
      непустую строку. Возвращаемое из
      <span class="methodname"><strong>streamWrapper::stream_eof()</strong></span> значение при этом
      игнорируется.
    </p>
  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-streamwrapper.stream-eof-seealso">
  <h3 class="title">Смотрите также</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.feof.php" class="function" rel="rdfs-seeAlso">feof()</a> - Проверяет, достигнут ли конец файла</span></li>
   </ul>
  </p>
 </div>


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