<?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 => 'pt_BR',
  ),
  'this' => 
  array (
    0 => 'streamwrapper.stream-eof.php',
    1 => 'streamWrapper::stream_eof',
    2 => 'Teste para fim de arquivo em ponteiros',
  ),
  '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' => 'pt_BR',
    '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">Teste para fim de arquivo em ponteiros</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-streamwrapper.stream-eof-description">
  <h3 class="title">Descrição</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">
   Este método é chamado em resposta a <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">Parâmetros</h3>
  <p class="para">Esta função não possui parâmetros.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-streamwrapper.stream-eof-returnvalues">
  <h3 class="title">Valor Retornado</h3>
  <p class="para">
   Deve retornar <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> se a posição de leitura/escrita estiver no final do fluxo e se não houver mais dados disponíveis para leitura, ou <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> caso contrário.
  </p>
 </div>




 <div class="refsect1 notes" id="refsect1-streamwrapper.stream-eof-notes">
  <h3 class="title">Notas</h3>
  <div class="warning"><strong class="warning">Aviso</strong>
    <p class="para">
      Ao ler todo o arquivo (por exemplo, com
      <span class="function"><a href="function.file-get-contents.php" class="function">file_get_contents()</a></span>), o PHP irá chamar
      <span class="methodname"><a href="streamwrapper.stream-read.php" class="methodname">streamWrapper::stream_read()</a></span> seguido por
      <span class="methodname"><strong>streamWrapper::stream_eof()</strong></span> em um loop mas enquanto
      <span class="methodname"><a href="streamwrapper.stream-read.php" class="methodname">streamWrapper::stream_read()</a></span> retornar uma
      string não vazia, o valor de retorno de
      <span class="methodname"><strong>streamWrapper::stream_eof()</strong></span> é ignorado.
    </p>
  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-streamwrapper.stream-eof-seealso">
  <h3 class="title">Veja Também</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.feof.php" class="function" rel="rdfs-seeAlso">feof()</a> - Testa pelo fim-de-arquivo em um ponteiro de arquivo</span></li>
   </ul>
  </p>
 </div>


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