In Emacs, is there some way to color double quoted strings based on their content? Ideally, any expression that gets evaluated within the string would be colored the same as if it were not enclosed within quotes. Currently, the entirety of strings are colored pink, which I believe is the default in Emacs for the PHP major mode.
Examples:
"a$b"
"{$a + 1}bc"
In the first example, a would still be colored pink but $b would be colored as if it were not enclosed in quotes. In the second, $a + 1 should be colored as if it were not within quotes. Ideally, the brackets would also be their own color to de-limit expressions visually.
