I'm new on using phpStorm and I'm really happy using it! Yesterday i got an issue and I'm not sure why it is... Basically typing a php code inside an HTML doc sometimes is seen as simple text and not processed. See these images:
Same code updated:
as you can see the first <?php require... is correct the second one (in cyan color inside the DIV block) is not processed!
I've also noticed if I try to copy/paste php code in this block i have an empty paste (!) but if I di a "paste simple" command the text is pasted ( as simple text).
Here another test:
If I run the script it works and no errors occured.