R
R
Remitmaster2018-05-07 23:57:25
phpstorm
Remitmaster, 2018-05-07 23:57:25

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
5af0bd97c802e276096732.jpeg
. 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

2 answer(s)
R
Remitmaster, 2018-05-08
@Remitmaster

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.

D
dmirogin, 2018-05-08
@dmirogin

<?php in 2018
php.net/manual/ru/language.basic-syntax.phptags.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question