Tag: heredoc syntax

String Functions in PHP [heredoc syntax]

The heredoc syntax: In addition of the single quote and double quote syntaxex, PHP provides another way to specify a string called heredoc syntax. This syntax turns out to be a extremely useful for specifiying large chunks of variable-interpolated text, because it spares you from the need to escape internal quotation marks. It is especially …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/08/string-functions-in-php-heredoc-syntax/