The heredoc and nowdoc syntaxes have very rigid requirements. This has caused them to be, in-part, eschewed by developers because their usage in code can look u...
Allow for the closing marker to be indented and for the leading whitespace to be stripped?
Remove the trailing new line requirement from the closing marker?