I used heredoc syntax to cover my string. But It displays error. Below is my code:
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2305869/heredoc-interfering-with-code-indentation">HEREDOC interfering with code indentation</a>  </p>
</blockquote>



<pre><code>&lt;?php
        $my_string = &lt;&lt;&lt;TO
         Everything in this rather unnecessarily wordy
        ramble of prose will be incorporated into the 
        string that we are building up inevitably, 
        inexorably, character by character, line by line, 
        until we reach that blessed //final line which is this one.
        TO;
        echo $my_string;
    ?&gt;
</code></pre>

<p>it's error is:</p>

<pre><code>Parse error: syntax error, unexpected $end in C:\wamp\www\ITP - Teaching\PHP\Chapter VIII - String\Heredoc Syntax\index.php on line 19
</code></pre>
