How to skip using __autoload?
<p>I have a php file which has multiple classes in it. I noticed that __autoload is being called when I instantiate any of the classes, even after the 'package' file has been autoloaded. This is worrying me, because surely if the initial 'package' .php file has been loaded, it is unnecessary overhead for __autoload when the classes have already been loaded. </p>

<p>I probably made a hash of explaining that, so here is an example:</p>

<pre><code>&lt;?php
class Class1{};
class Class2{};
?&gt;
</code></pre>

<p>Then in another file:</p>

<pre><code>&lt;?php
new Class1;
new Class2;
?&gt;
</code></pre>

<p>__autoload will be used for both Class1 AND Class2's instantiation... even though they are housed in the same file.</p>

<p>Is there a way to get around this?</p>

<p>Sorry if my explanation isn't very good, I'd really appreciate any help or tips.</p>
