title: Initializing class member variables with expressions (concatenated string) in PHP
body: <p>I'd like to initialize a class member var using an expression- by concatenating a string... Why is the following not possible...</p>
  
  <pre class="lang-php prettyprint-override"><code>class aClass {
      const COMPANY_NAME = "A Company";
      var $COPYRIGHT_TEXT = "Copyright © 2011 " . COMPANY_NAME;  // syntax error on this line - why?
      var $COPYRIGHT_TEXT2 = "Copyright © 2011 " . "A Company";   // even a syntax error on this line
  }
  </code></pre>
  
  <p>Thanks very much for your help.</p>
  
  <p>Prembo</p>