You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In PHP 7.3, heredoc (and nowdoc) strings can be terminated by the keyword at arbitrary indentation (which is used to strip indentation from previous lines).
For example, the following PHP code works in PHP7.3:
However, as you can see, the highlighting grammar does not recognize the indented heredoc termination and it parses the var_dump as part of the heredoc string.
The text was updated successfully, but these errors were encountered:
In PHP 7.3, heredoc (and nowdoc) strings can be terminated by the keyword at arbitrary indentation (which is used to strip indentation from previous lines).
For example, the following PHP code works in PHP7.3:
and outputs:
However, as you can see, the highlighting grammar does not recognize the indented heredoc termination and it parses the
var_dump
as part of the heredoc string.The text was updated successfully, but these errors were encountered: