Closed Cosolom closed 1 year ago
I cannot reproduce the problem. Could you provide the text? May be the text contains an unfinished string literal.
It's not related to text
The problem is in the IntelliJ IDEA language parser, it doesn't recognize EOF
at the end as a heredoc finish marker.
As a workaround, you can insert a line break between EOF
and "`". Example:
PHP=`cat << 'EOF'
some text
EOF
`; echo $PHP
Thank you!! It works
When I inserted code with multiple lines - I can't submit it. "Enter" adding new lines instead of run code