title: PHP heredoc syntax
body: <p>I was wondering whether:</p>
  
  <pre><code>$foo = &lt;&lt;&lt; EOT
  Hello, World!
  EOT;
  </code></pre>
  
  <p>is just as valid as</p>
  
  <pre><code>$foo = &lt;&lt;&lt;EOT
  Hello, World!
  EOT;
  </code></pre>
  
  <p>and in particular whether this is true in all versions of PHP (or just the latest ones).</p>
  
  <p>I wonder because I want to know whether a space between the <code>&lt;&lt;&lt;</code> and first <code>EOT</code> identifier is syntactically valid. For instance, my PHP interpreter 5.3.10 runs this correctly but
  my vim text editor does not syntax-highlight the heredoc in the same way if there is a
  space between <code>&lt;&lt;&lt;</code> and <code>EOT</code> (the <code>EOT</code> identifier is colored white instead of purple).</p>
  
  <p>So what is the deal here? Are both legal in all versions of PHP or not?</p>