is it a php bug? (about extends)
<pre><code>class A extends B {}
class B extends C{}
class C {}
</code></pre>

<p>result</p>

<pre><code>PHP Fatal error: class 'B' not found ...
</code></pre>

<p>if the order is like this</p>

<pre><code>class A extends B {}
class C {}
class B extends C{}
</code></pre>

<p>everything is ok.</p>

<hr>

<p>PS: if I remove class C {}</p>

<pre><code>class A extends B {}
class B extends C{}
</code></pre>

<p>php tells me class 'B' is not found, why?</p>

<p>php version 5.3.4</p>
