PHP here document FAQ: How do I create a here document in PHP?
If you ever need to use a "here document" in PHP, here's a short example of the PHP here document syntax:
<?php
print <<< END
Four score and seven years ago
our fathers set onto this continent
(and so on ...)
END;
?>
I believe the closing tag you use ("END" in my case) must begin in the first column. This is typical with here document syntax, but I haven't tested it in PHP.