<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.spl.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.spl-autoload-extensions.php',
    1 => 'spl_autoload_extensions',
    2 => 'Registriert und gibt die voreingestellten Dateiendungen f&uuml;r spl_autoload zur&uuml;ck',
  ),
  'up' => 
  array (
    0 => 'ref.spl.php',
    1 => 'SPL Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.spl-autoload-call.php',
    1 => 'spl_autoload_call',
  ),
  'next' => 
  array (
    0 => 'function.spl-autoload-functions.php',
    1 => 'spl_autoload_functions',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'de',
    'path' => 'reference/spl/functions/spl-autoload-extensions.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.spl-autoload-extensions" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">spl_autoload_extensions</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.1.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">spl_autoload_extensions</span> &mdash; <span class="dc-title">Registriert und gibt die voreingestellten Dateiendungen für spl_autoload zurück</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.spl-autoload-extensions-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>spl_autoload_extensions</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.string.php" class="type string">string</a></span></span> <code class="parameter">$file_extensions</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.string.php" class="type string">string</a></span></div>

  <p class="para rdfs-comment">
   Diese Funktion kann die Dateiendungen, die in der <span class="function"><a href="function.autoload.php" class="function">__autoload()</a></span> Fallback-Funktion <span class="function"><a href="function.spl-autoload.php" class="function">spl_autoload()</a></span>
   verwendet werden, prüfen und ändern.
  </p>
  <blockquote class="note"><p><strong class="note">Hinweis</strong>: 
   <span class="simpara">
    Es sollte sich kein Leerzeichen zwischen den definierten Dateierweiterung befinden.
   </span>
  </p></blockquote>  
 </div>


 <div class="refsect1 parameters" id="refsect1-function.spl-autoload-extensions-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">file_extensions</code></dt>
     <dd>
      <p class="para">
       Wenn <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>, werden alle aktuellen 
       Endungen durch Kommas getrennt zurückgegeben. Um die Liste mit den Dateiendungen
       zu modifizieren, einfach die Funktion noch einmal aufrufen mit einer 
       neuen Liste von Dateiendungen, die durch Kommas getrennt in einer einzigen 
       Zeichenkette übergeben werden.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.spl-autoload-extensions-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Eine durch Kommata getrennte Liste mit den Voreingestellten Dateiendungen für 
   <span class="function"><a href="function.spl-autoload.php" class="function">spl_autoload()</a></span>.
  </p>
 </div>

 
 <div class="refsect1 changelog" id="refsect1-function.spl-autoload-extensions-changelog">
  <h3 class="title">Changelog</h3>
  <p class="para">
   <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">file_extensions</code> ist jetzt nullbar.
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.spl-autoload-extensions-examples">
  <h3 class="title">Beispiele</h3>
  <div class="example" id="example-1">
   <p><strong>Beispiel #1 <span class="function"><strong>spl_autoload_extensions()</strong></span> Beispiel</strong></p>
   <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />spl_autoload_extensions</span><span style="color: #007700">(</span><span style="color: #DD0000">".php,.inc"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
   </div>

  </div>
 </div>


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