title: How to use spl_autoload_register?
body: <pre><code>class Manage
  {
  
  spl_autoload_register(function($class) {
      include $class . '.class.php';
  });
  }
  </code></pre>
  
  <p>Say I have some code like the above.  I chose to use the anonymous function method of loading classes, but how is this used?  How exactly does it determine which <code>'$class'</code> to load?</p>