<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.dir.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.rewinddir.php',
    1 => 'rewinddir',
    2 => 'Setzt das Verzeichnis-Handle an den Anfang zur&uuml;ck',
  ),
  'up' => 
  array (
    0 => 'ref.dir.php',
    1 => 'Verzeichnis-Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.readdir.php',
    1 => 'readdir',
  ),
  'next' => 
  array (
    0 => 'function.scandir.php',
    1 => 'scandir',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'de',
    'path' => 'reference/dir/functions/rewinddir.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.rewinddir" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">rewinddir</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">rewinddir</span> &mdash; <span class="dc-title">Setzt das Verzeichnis-Handle an den Anfang zurück</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.rewinddir-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>rewinddir</strong></span>(<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span></span> <code class="parameter">$dir_handle</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   Setzt den mit <code class="parameter">dir_handle</code> angegebenen
   Verzeichnis-Stream auf den Anfang des Verzeichnisses zurück (Reset).
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.rewinddir-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">dir_handle</code></dt>
     <dd>
      <p class="para">
       Die Verzeichnis-Handle-<span class="type"><a href="language.types.resource.php" class="link">Ressource</a></span>, die zuvor mit
       <span class="function"><a href="function.opendir.php" class="function">opendir()</a></span> geöffnet wurde. Wenn das
       Verzeichnis-Handle nicht angegeben ist, wird dasjenige verwendet, das
       auf das zuletzt mittels <span class="function"><a href="function.opendir.php" class="function">opendir()</a></span> geöffnete
       Verzeichnis zeigt.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.rewinddir-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Es wird kein Wert zurückgegeben.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.rewinddir-changelog">
  <h3 class="title">Changelog</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Version</th>
      <th>Beschreibung</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.0.0</td>
      <td>
       <code class="parameter">dir_handle</code> ist nun nullable (akzeptiert den
       <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>-Wert).
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


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