title: PHP: access a parent's static variable from an extended class' method
body: <p>Still trying to figure out oop in PHP5. The question is, how to access a parent's static variable from an extended class' method. Example below.</p>
  
  <pre><code>&lt;?php
  error_reporting(E_ALL);
  class config {
      public static $base_url = 'http://example.moo';
  }
  class dostuff extends config {
     public static function get_url(){
        echo $base_url;
      }
  }
   dostuff::get_url();
  ?&gt;
  </code></pre>
  
  <p>I thought this would work from experience in other languages.</p>