title: php convert string to static variable
body: <p>I don't know very good how to describe my problem, but here's what I want to do: 
  I want to escape the language variables and convert them to static variables. Something like this</p>
  
  <pre><code>public static $languages = array('nl', 'en');
  public static $nl;
  public static $en;
  
  public function __construct(){
      foreach(self::$languages as $lang){
          self::{$lang} = $content[$lang];
      }
  }
  </code></pre>
  
  <p>I know this is possible with a non static variable like this: </p>
  
  <pre><code>$this-&gt;{$lang} = $content[$lang];
  </code></pre>
  
  <p>but I constantly get errors when trying to convert it to a static variable. 
  Is there a way to do this? or is it impossible in php? </p>