<?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.php',
    1 => 'spl_autoload',
    2 => 'Default implementation for __autoload()',
  ),
  'up' => 
  array (
    0 => 'ref.spl.php',
    1 => 'SPL İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.iterator-to-array.php',
    1 => 'iterator_to_array',
  ),
  'next' => 
  array (
    0 => 'function.spl-autoload-call.php',
    1 => 'spl_autoload_call',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/spl/functions/spl-autoload.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.spl-autoload" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">spl_autoload</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.1.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">spl_autoload</span> &mdash; <span class="dc-title">Default implementation for __autoload()</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.spl-autoload-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>spl_autoload</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$class</code></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.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   This function is intended to be used as a default implementation for
   <span class="function"><a href="function.autoload.php" class="function">__autoload()</a></span>. If nothing else is specified and
   <span class="function"><a href="function.spl-autoload-register.php" class="function">spl_autoload_register()</a></span> is
   called without any parameters then <span class="function"><strong>spl_autoload()</strong></span> will be used for any
   later call to <span class="function"><a href="function.autoload.php" class="function">__autoload()</a></span>. 
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.spl-autoload-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">class</code></dt>
     <dd>
      <p class="para">
       The name of the class being instantiated.
       When calling the function, the name of the class with the namespace is passed to the parameter.
       The <code class="parameter">class</code> will not contain the leading backslash of a fully-qualified identifier.
      </p>
     </dd>
    
    
     <dt><code class="parameter">file_extensions</code></dt>
     <dd>
      <p class="para">
       By default it checks all <a href="ini.core.php#ini.include-path" class="link">include_path</a>s to
       contain filenames built up by the lowercase class name appended by the
       filename extensions <code class="literal">.inc</code> and <code class="literal">.php</code>.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


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


 <div class="refsect1 errors" id="refsect1-function.spl-autoload-errors">
  <h3 class="title">Hatalar/İstisnalar</h3>
  <p class="para">
   Throws <span class="classname"><a href="class.logicexception.php" class="classname">LogicException</a></span> when the class is not found
   and there are no other autoloaders registered.
  </p>
 </div>

 
 <div class="refsect1 changelog" id="refsect1-function.spl-autoload-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><?php manual_footer($setup); ?>