Answer the question
In order to leave comments, you need to log in
Phpstorm detects php as text between html tags, bug or setting?
Recently, I noticed an unpleasant behavior in the code when php is recognized as plain text
. In this case, the beginning and end of the script <??> are also highlighted as plain text. And this behavior is only inside the html tag.
I can not understand what it is, a mistake or somewhere the setting is worth it.
Answer the question
In order to leave comments, you need to log in
And here is the correct answer, it's all about spaces.
I think that this is most likely a bug, although I admit that there may be some subtle settings.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question