Radical Heredoc syntax with include
Posted: 06 Feb 2020 07:54
I am not sure if this is a bug or just a known limitation, but I have noticed that if you use a radical heredoc syntax and then have an include below it in the same script it isn't parsed properly. An example:
Code: Select all
"Script 1"
$isOk = Confirm (<<<#FOO
Blah
BlahFOO#FOO);
echo $isOk;
"Script 2" e 2;
include "incFile.xys"