title: PHP class constant string variable spanning over multiple lines
body: <p>I want to have a string variable for a PHP class, which would be available to all methods.</p>
  
  <p>However, this variable is quite long, so I want to separate it into multiple lines.</p>
  
  <p>For example, </p>
  
  <pre><code>$variable = "line 1" .
              "line 2" .
              "line 3";
  </code></pre>
  
  <p>But above doesn't work.</p>
  
  <p>I tried EOD, but EOD is not allowed within class. And when I declare it outside the class, I can't access the variable from within the class.</p>
  
  <p>What is the best way?</p>