PHP syntax highlighting does not correctly detect end of string #147037
Labels
grammar
Syntax highlighting grammar
upstream-issue-linked
This is an upstream issue that has been reported upstream
Uh oh!
There was an error while loading. Please reload this page.
Does this issue occur when all extensions are disabled?: Yes
OS is Ubuntu 20.04
Description
When I use a string variable formatted as in the example, code after the variable is incorrectly coloured
This is what it ends up looking like for me:

I'd expect this to parse the string correctly. The output should look more like this:

Test case:
Steps to Reproduce:
Create a test file, test.php with the contents from the test case
The text was updated successfully, but these errors were encountered: