I suggest you ...

Syntax highlight of heredoc & nowdoc strings totally broken

See https://3v4l.org/MJ95c
and https://3v4l.org/Vra5q

The string should be highlighted as string till its end at the "DELIM" delimiter.

Instead, apparently the syntax highlighter considers it to stops at the first line that doesn't contain any spaces, and starting from that, it highlights the rest as if it was PHP code outside the string.

1 vote
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
teo shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base