PHP nowdoc syntax not highlighted correctly

Issue #10031 invalid
Anonymous created an issue

Nowdocs like

<?php
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
EOT;
?>

are not highlighted correctly.

See here for the according PHP documentation.

Comments (4)

  1. Log in to comment