I'm having trouble using the PHP heredoc string syntax inside a user-defined tag. Even the simplest code like below:
Code: Select all
$bar = <<<EOT
bar
EOT;
Code: Select all
Invalid code entered.
Parse error: syntax error, unexpected $end in /home/directory/website/admin/adduserplugin.php(100) : eval()'d code on line 3
Thanks,
zims