title: Heredoc syntax error
body: <p>For a mediawiki skin, I am getting an error for the following piece of code</p>
  
  <pre><code>    private $_sideboxf = &lt;&lt;&lt;EOD
          &lt;h3&gt;%s&lt;/h3&gt;
          &lt;ul class="submenu"&gt;
              %s
          &lt;/ul&gt;
  EOD;
  </code></pre>
  
  <p>The error is <code>syntax error, unexpected T_START_HEREDOC</code> . I have checked the syntax and I dont know what is wrong. Even the author of the code doesn't understand why I am getting this error when I asked on git. </p>
  
  <p>EDIT: class definition</p>
  
  <pre><code>class SkinTemplate extends QuickTemplate
  {
      private $_sideboxf = &lt;&lt;&lt;EOD
      &lt;h3&gt;%s&lt;/h3&gt;
      &lt;ul class="submenu"&gt;
          %s
      &lt;/ul&gt;
  EOD;
  // Some public function
  } // End of Class
  </code></pre>