title: spl_autoload_register vs __autoload
body: <p>I try</p>
  
  <pre><code>function some_class($class) {
          require PATH.'test'.$class.'.php';
      }
  
  
  
  function test_class($class) {
          require PATH.'some'.$class.'.php';
      }
  
      spl_autoload_register("test_class");
      spl_autoload_register("some_class");
  
  
      $tst = new SomeClass();
  </code></pre>
  
  <p>SomeClass class locate in "PATH/some/SomeClass.php", but spl_autoload_register call only "test_class" function and not call "some_class". But if I change functions position, then it find new SomeClass. </p>