<?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 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.spl-autoload-extensions.php',
    1 => 'spl_autoload_extensions',
    2 => 'Register and return default file extensions for spl_autoload',
  ),
  'up' => 
  array (
    0 => 'ref.spl.php',
    1 => 'SPL İşlevleri',
  ),
  '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' => 'en',
    '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">Register and return default file extensions for spl_autoload</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.spl-autoload-extensions-description">
  <h3 class="title">Açıklama</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">
   This function can modify and check the file extensions that the built in
   <span class="function"><a href="function.autoload.php" class="function">__autoload()</a></span> fallback function <span class="function"><a href="function.spl-autoload.php" class="function">spl_autoload()</a></span> 
   will be using.
  </p>
  <blockquote class="note"><p><strong class="note">Bilginize</strong>: 
    <span class="simpara">
      There should not be a space between the defined file extensions.
    </span>
  </p></blockquote>  
 </div>


 <div class="refsect1 parameters" id="refsect1-function.spl-autoload-extensions-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">file_extensions</code></dt>
     <dd>
      <p class="para">
       If <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>, it simply returns the current list
       of extensions each separated by comma. To modify the list of file
       extensions, simply invoke the functions with the new list of file
       extensions to use in a single string with each extensions separated
       by comma.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.spl-autoload-extensions-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   A comma delimited list of default file extensions for
   <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">Sürüm Bilgisi</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Sürüm: </th>
       <th>Açıklama</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>8.0.0</td>
       <td>
        <code class="parameter">file_extensions</code> is now nullable.
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.spl-autoload-extensions-examples">
  <h3 class="title">Örnekler</h3>
  <div class="example" id="example-1">
   <p><strong>Örnek 1 <span class="function"><strong>spl_autoload_extensions()</strong></span> example</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); ?>