<?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 => 'tr',
  ),
  'this' => 
  array (
    0 => 'streamwrapper.stream-read.php',
    1 => 'streamWrapper::stream_read',
    2 => 'Akımdan veri okur',
  ),
  'up' => 
  array (
    0 => 'class.streamwrapper.php',
    1 => 'streamWrapper',
  ),
  'prev' => 
  array (
    0 => 'streamwrapper.stream-open.php',
    1 => 'streamWrapper::stream_open',
  ),
  'next' => 
  array (
    0 => 'streamwrapper.stream-seek.php',
    1 => 'streamWrapper::stream_seek',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/stream/streamwrapper/stream-read.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="streamwrapper.stream-read" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">streamWrapper::stream_read</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_read</span> &mdash; <span class="dc-title">Akımdan veri okur</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-streamwrapper.stream-read-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span>
   <span class="methodname"><strong>streamWrapper::stream_read</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$sayı</code></span>): <span class="type"><span class="type"><a href="language.types.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Bu yöntem <span class="function"><a href="function.fread.php" class="function">fread()</a></span> ve <span class="function"><a href="function.fgets.php" class="function">fgets()</a></span> işlevine
   yanıtta çağrılır.
  </p>
  <blockquote class="note"><p><strong class="note">Bilginize</strong>: 
   <p class="para">
    Başarıyla okunan bayt sayısına göre akımdaki konumlayıcıyı güncellemeyi
    unutmayın.
   </p>
  </p></blockquote>

 </div>


 <div class="refsect1 parameters" id="refsect1-streamwrapper.stream-read-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">sayı</code></dt>
     <dd>
      <p class="para">
       Geçerli konumdan okunacak bayt sayısı.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-streamwrapper.stream-read-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Akımda <code class="parameter">sayı</code> bayttan daha az bayt varsa, olan
   döndürülür. Hiç veri yoksa boş bir dizge, okuma başarısız olmuşsa <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>
   dönmelidir.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-streamwrapper.stream-read-errors">
  <h3 class="title">Hatalar/İstisnalar</h3>
  <p class="para">Bu yöntem çağrısı
başarısız olursa (gerçeklenmeme sorunu gibi) bir
<strong><code><a href="errorfunc.constants.php#constant.e-warning">E_WARNING</a></code></strong> iletisi çıktılar.</p>
  <blockquote class="note"><p><strong class="note">Bilginize</strong>: 
   <p class="para">
    Dönen değer <code class="parameter">sayı</code> bayttan daha uzunsa bir
    <strong><code><a href="errorfunc.constants.php#constant.e-warning">E_WARNING</a></code></strong> çıktılanır ve fazlalık veri kaybedilir.
   </p>
  </p></blockquote>
 </div>


 <div class="refsect1 notes" id="refsect1-streamwrapper.stream-read-notes">
  <h3 class="title">Notlar</h3>
  <blockquote class="note"><p><strong class="note">Bilginize</strong>: 
   <p class="para">
    Dosya sonuna ulaşılıp ulaşılmadığını görmek için
    <span class="methodname"><strong>streamWrapper::stream_read()</strong></span> çağrısının hemen
    ardından <span class="methodname"><a href="streamwrapper.stream-eof.php" class="methodname">streamWrapper::stream_eof()</a></span> çağrılır.
    Yöntem gerçeklenmemişse dosya sonuna ulaşıldığı varsayılır.
   </p>
  </p></blockquote>
 </div>


 <div class="refsect1 notes" id="refsect1-streamwrapper.stream-read-notes">
  <h3 class="title">Notlar</h3>
  <div class="warning"><strong class="warning">Uyarı</strong>
   <p class="para">
    Tüm dosyayı okurken (örneğin, <span class="function"><a href="function.file-get-contents.php" class="function">file_get_contents()</a></span> ile),
    PHP bir döngü halinde önce
    <span class="methodname"><strong>streamWrapper::stream_read()</strong></span> ve ardından
    <span class="methodname"><a href="streamwrapper.stream-eof.php" class="methodname">streamWrapper::stream_eof()</a></span> öğesini çağırır, ancak
    <span class="methodname"><strong>streamWrapper::stream_read()</strong></span> boş olmayan bir dizge
    döndürdüğü sürece, <span class="methodname"><a href="streamwrapper.stream-eof.php" class="methodname">streamWrapper::stream_eof()</a></span>&#039;un
    dönüş değeri yok sayılır.
   </p>
  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-streamwrapper.stream-read-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.fread.php" class="function" rel="rdfs-seeAlso">fread()</a> - Dosyayı ikil kipte okur</span></li>
    <li><span class="function"><a href="function.fgets.php" class="function" rel="rdfs-seeAlso">fgets()</a> - Dosya tanıtıcısından bir satır d&ouml;nd&uuml;r&uuml;r</span></li>
   </ul>
  </p>
 </div>


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