<p>PHP 7.3 has changed the Heredoc/Nowdoc syntax, so that the ending delimiter doesn't need to be at the beginning of a line, and can be followed by other expressions. the following examples are valid php code now:</p>
<pre><code><?php
    $var = <<<EOL
    this is a test
    EOL;
</code></pre>
<pre><code><?php
    $vector = [<<<EOL
    this
    is
    a
    test
    EOL, 'other value' ];
</code></pre>
<p>But both syntax examples are not properly parsed/highlighted on Geany.<br>
I'm not sure if this is a Scintilla bug or a Geany bug - I can see Geany has a php parser, which today is unable to parse the new syntax (code is <a href="https://github.com/geany/geany/blob/master/ctags/parsers/php.c">here</a>). I tried to open a ticket on Scintilla about this, but I am not allowed to do so (looks like you need approval from the project owners to open a ticked there).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2414?email_source=notifications&email_token=AAIOWJ4Z337TYXUMA5KX2G3Q3XBWPA5CNFSM4KCA6SLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IDU4V5A">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7VUHL7MAD2OULAPH3Q3XBWPANCNFSM4KCA6SLA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4BNU3XCORXSMIGJA3Q3XBWPA5CNFSM4KCA6SLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IDU4V5A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2414?email_source=notifications\u0026email_token=AAIOWJ4Z337TYXUMA5KX2G3Q3XBWPA5CNFSM4KCA6SLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IDU4V5A",
"url": "https://github.com/geany/geany/issues/2414?email_source=notifications\u0026email_token=AAIOWJ4Z337TYXUMA5KX2G3Q3XBWPA5CNFSM4KCA6SLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IDU4V5A",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>