title: PHP5 Frameworks: Autoloading and Opcode Caching
body: <p>A number of frameworks utilize <code>spl_autoload_register()</code> for dynamically loading classes (i.e. controllers and models).  There are a couple of posts on the issue of autoloading and opcode caching.  One post in particular has a response by @cletus which references @Rasmus making a number of statements which prove to be unsavoury for those utilizing APC as an opcode cache:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/1396501/do-php-opcode-cache-work-with-autoload">Do PHP opcode cache work with __autoload?</a></li>
  </ul>
  
  <p>There does not appear to be any discussion as to any possible alternatives to autoloading which do not affect opcode cache performance.  </p>
  
  <p><strong>Is there a way to get around the fact autoloaded classes do not get added to the byte code cache?</strong></p>
  
  <p><em>If not, are there any alternative methods for dynamically loading classes which will get cached?</em></p>