Alex Rivera | Logout

What is <<<_END?

Asked 2011-01-13T01:05:25.043
14

I'm new to PHP and don't understand what the point of <<<_END is. Could someone please explain when this should be used? I've looked at various examples and they all seem to have HTML embedded within them. But I can use HTML without the <<<_END tags, so why should I use them? I tried searching the manual, but I keep finding the end() method for arrays.

Edit
Report

1 Answer

1

It's a heredoc. It's just a way of defining a string.

answered 2011-01-13T01:09:48.717

Your Answer