title: Special uses of this syntax in PHP? (Triple 'Angle Brackets')
body: <p>Given the following code:</p>
  
  <pre><code>$myString = &lt;&lt;&lt;script
     .
     .
     .
   script;
  </code></pre>
  
  <p>Thanks to the answers on the original version of this question, I understand &lt;&lt;&lt; to be heredoc syntax, treated as double quotes without the need for escaping quotes. </p>
  
  <p>Taking this a step further, how is this best exploited? Specifically, should this ease the strain of dealing with mixed quote strings containing code syntax?</p>
  
  <p>i,e..</p>
  
  <pre><code>attribute="name-like string" attribute="property: 'value("value")';"
  </code></pre>
  
  <p>The thought is this may be useful (if implemented the way I am now guessing) especially when dealing with greater complexity and/or looking out for code injection. Again, looking for any scenarios where the heredoc for is particularly useful or exploitable.</p>