$test= <<<EOF
....
EOF;
I have never see it before. What’s it used for?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is called HEREDOC syntax, which is a way to define strings, on multiple lines, with variable interpolation.
Quoting the manual page:
(There is more to read, that I didn’t copy-paste from the manual page)
And, as a very quick and simple example:
It will give you this output:
And this HTML source: