title: PHP superclass and subclass
body: <p>A simple question, does the following make sense ? </p>
  
  <p><strong>Class B extends Class A</strong></p>
  
  <p>class A constructor:</p>
  
  <pre><code>function __construct(){
      //do something
  }
  </code></pre>
  
  <p>Class B constructor:</p>
  
  <pre><code>function __construct(){
      parent::__construct();
  }
  </code></pre>
  
  <p>Is there any significant advantage to implementing the child constructor at all in this case?</p>
  
  <p>I can only think of :</p>
  
  <ul>
  <li>The entire code for class B will be more "complete" in structure</li>
  </ul>
  
  <p>Would be interesting to know if there is any significant advantages in coding or in structuring etc.</p>