title: Accessing Static Variable from child->child class php
body: <p>I have the following setup:</p>
  
  <pre><code>&lt;?php
  class core {
      static $var1;
  }
  
  class parent extends core {
     function getStatic() {
         return parent::$var1;
     }
  }
  
  class child extends parent {
      function getStatic() {
          // I want to access core static var, how can i do it?
          //return parent::$var1;
     }
  }
  ?&gt;
  </code></pre>
  
  <p>I need to be able to use parent::$var1 but from within class child.. is this possible? Am I missing something?</p>