<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1041448" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1041448</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Heredoc text behaves just</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/does-anybody-use-php-heredoc#comment-1231398</link>
    <description> &lt;p&gt;Heredoc text behaves just like a double-quoted string, without the double quotes. This means that quotes in a heredoc do not need to be escaped, but escape codes can still be used.&lt;/p&gt;
&lt;p&gt;It is very important to note that the line with the closing identifier must contain no other characters, except possibly a semicolon. That means especially that the identifier may not be indented, and there may not be any spaces or tabs before or after the semicolon. It&#039;s also important to realize that the first character before the closing identifier must be a newline as defined by the local operating system. This is \n on UNIX systems, including Mac OS X. The closing delimiter (possibly followed by a semicolon) must also be followed by a newline.&lt;/p&gt;
&lt;p&gt;I suppose the advantage is you can quote text and HTML easier within PHP.&lt;br /&gt;
ALthough from a few benchmarks I see that it&#039;s slower than double quotes. I suppose it depends on what data you are using. Variables or just plain text etc.&lt;/p&gt;
&lt;p&gt;for me double or single quotes (depending on data) is just far to convenient to start using another method with no great advantage, but some drawbacks.&lt;/p&gt;
 </description>
     <pubDate>Sun, 06 Jul 2008 20:58:00 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1231398 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
