1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #10031 invalid

PHP nowdoc syntax not highlighted correctly

Anonymous created an issue

Nowdocs like

echo <<<'EOT'
My name is "$name". I am printing some $foo->foo.
Now, I am printing some {$foo->bar[1]}.
This should not print a capital 'A': \x41

are not highlighted correctly.

See here for the according PHP documentation.

Comments (4)

  1. Log in to comment