What is PHP heredoc used for?

Allows creating multiple lines of string without using quotations.

Heredoc is a robust way to create string in PHP with more lines but without using quotations.

Leave a Reply

Your email address will not be published.