title: Using static variables in PHP
body: <p>Is it possible to use another static variable to initialize another static variable in php?</p>
  
  <pre><code>public static $conf_siteroot = "http://mysite.com/";
   public static $conf_docroot = "C:/Users/Mp/Documents/Projects/nana/webroot/";
  
   public static $conf_doclib = $conf_docroot."library/";
   public static $conf_sitelib = $conf_siteroot."library/";
  </code></pre>
  
  <p>This code doesn't work at all but I need to reuse the static variable so I will not write too much. Thanks</p>