<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.directoryiterator.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'directoryiterator.next.php',
    1 => 'DirectoryIterator::next',
    2 => 'Move forward to next DirectoryIterator item',
  ),
  'up' => 
  array (
    0 => 'class.directoryiterator.php',
    1 => 'DirectoryIterator',
  ),
  'prev' => 
  array (
    0 => 'directoryiterator.key.php',
    1 => 'DirectoryIterator::key',
  ),
  'next' => 
  array (
    0 => 'directoryiterator.rewind.php',
    1 => 'DirectoryIterator::rewind',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/spl/directoryiterator/next.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="directoryiterator.next" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">DirectoryIterator::next</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">DirectoryIterator::next</span> &mdash; <span class="dc-title">Move forward to next DirectoryIterator item</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-directoryiterator.next-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>DirectoryIterator::next</strong></span>(): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>


  <p class="para rdfs-comment">
   Move forward to the next <span class="classname"><a href="class.directoryiterator.php" class="classname">DirectoryIterator</a></span> item.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-directoryiterator.next-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">Bu işlevin bağımsız değişkeni yoktur.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-directoryiterator.next-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Hiçbir değer dönmez.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-directoryiterator.next-examples">
  <h3 class="title">Örnekler</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Örnek 1 <span class="methodname"><strong>DirectoryIterator::next()</strong></span> example</strong></p>
    <div class="example-contents"><p>
     List the contents of a directory using a while loop.
    </p></div>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$iterator </span><span style="color: #007700">= new </span><span style="color: #0000BB">DirectoryIterator</span><span style="color: #007700">(</span><span style="color: #0000BB">dirname</span><span style="color: #007700">(</span><span style="color: #0000BB">__FILE__</span><span style="color: #007700">));<br />while(</span><span style="color: #0000BB">$iterator</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {<br />    echo </span><span style="color: #0000BB">$iterator</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getFilename</span><span style="color: #007700">() . </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;<br />    </span><span style="color: #0000BB">$iterator</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">next</span><span style="color: #007700">();<br />}<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

    <div class="example-contents"><p>
Yukarıdaki örnek şuna benzer bir çıktı üretir:</p></div>
    <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">.
..
apple.jpg
banana.jpg
index.php
pear.jpg</pre>
</div>
    </div>
   </div>
  </p>
 </div>

 
 <div class="refsect1 seealso" id="refsect1-directoryiterator.next-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="directoryiterator.current.php" class="methodname" rel="rdfs-seeAlso">DirectoryIterator::current()</a> - Return the current DirectoryIterator item</span></li>
    <li><span class="methodname"><a href="directoryiterator.key.php" class="methodname" rel="rdfs-seeAlso">DirectoryIterator::key()</a> - Return the key for the current DirectoryIterator item</span></li>
    <li><span class="methodname"><a href="directoryiterator.rewind.php" class="methodname" rel="rdfs-seeAlso">DirectoryIterator::rewind()</a> - Rewind the DirectoryIterator back to the start</span></li>
    <li><span class="methodname"><a href="directoryiterator.valid.php" class="methodname" rel="rdfs-seeAlso">DirectoryIterator::valid()</a> - Check whether current DirectoryIterator position is a valid file</span></li>
    <li><span class="methodname"><a href="iterator.next.php" class="methodname" rel="rdfs-seeAlso">Iterator::next()</a> - Konumu sonraki elemana ilerletir</span></li>
   </ul>
  </p>
 </div>


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