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.

Share

Leave a Reply

Your email address will not be published. Required fields are marked *