Skip to content

Misinterpretation of PHP string interpolation #2856

@danon

Description

@danon

Information:

  • Prism version: latest from the download page
  • Plugins: none

Description

  • The code:
    image
  • How Prism.js highlights it:
    image
  • How it should highlight it:
    image

Example
https://prismjs.com/test.html#language=php&text=%3C%3Fphp%0A%0A%24value%20%3D%20%22%24this-%3Eproperty-%3Eproperty%22%3B%0A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions