https://bugs.kde.org/show_bug.cgi?id=382527

            Bug ID: 382527
           Summary: PHP: highlighting inside curly braces in double quotes
           Product: frameworks-syntax-highlighting
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: matthewtresc...@gmail.com
  Target Milestone: ---

It is valid PHP to access an array value within a double-quoted string as long
as it's surrounded by curly braces. The following line evaluated properly, but
the paragraph_linenumbers part was not highlighted correctly:

throw new ParserException("The paragraph beginning at line
{$this->paragraph_linenumbers[$paragraph_index]}\nin file {$this->file_path} is
missing a License field.\nThis is a required field in all debian/copyright file
paragraphs.");

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to