title: Access variable in class
body: <p>i would like to access an variable, which is in an class (not as an instance of an class)
  For example</p>
  
  <pre><code>class myclas
  {
  private $list=array('1','2','3');
  [...]
  }
  </code></pre>
  
  <p>I need to access the values of $list in that way: myclass::$list (witch is'n possible).
  Is there an alternative way?</p>
  
  <p>Thank you.</p>
  
  <p>//Edit: Thank you all for the answer! Is it possible to use an private variable as values for an public?</p>
  
  <pre><code>class myclas
   {
     private $_list=array('1','2','3');
     public static $staticList=$_list;
    [...]
      }
  </code></pre>
  
  <p>Right now, i get an error "unexpected T_VARIABLE"</p>