PHP heredoc syntax allows creating multiple lines of string without using quotations.Example:
Here, the heredoc starts with <<< operator and the multiple lines are followed. <<<identifier_name is used as an identifier making the start of heredoc. To end the heredoc, the identifier is written again.
$str = <<<Sample
This is a sample string
A sample string