title: Multi-level inheritance in PHP classes
body: <p>Lets say I have this code:</p>
  
  <pre><code>class A {
     ...
  }
  
  class B extends A {
     ...
  }
  
  class C extends B {
     ...
  }
  
  $c = new C();
  $c-&gt;getMethodOrPropertyFromB()-&gt;getMethodOrPropertyFromA();
  </code></pre>
  
  <p>Other than a <strong>bad</strong> architecture or bad design will this have any impact on PHP / Webserver (Apache/Nginx) performance when the script executes?</p>
  
  <p>If this is not recommended to have such multi-level in PHP classes, can you explain why?</p>
  
  <p><strong>Note:</strong> in addition to the answers I've got I will let <a href="http://www.brandonsavage.net/where-multiple-inheritance-will-kill-you/" rel="nofollow">this</a> here which is helpful as well</p>