title: php spl_autoload_register vs __autoload?
body: <p>hello is there any diffrence useing this excepts that we can use our own name auto load? is there any performance difference? how do they internally work?</p>
  
  <p>between</p>
  
  <pre><code>function __autoload_libraries($class){
      include_once 'lib.'.$class.'.php';
  }
  
  spl_autoload_register('__autoload_libraries');
  </code></pre>
  
  <p>vs</p>
  
  <pre><code>function __autoload($class){
      include_once 'lib.'.$class.'.php';
  }
  </code></pre>