Is it possible to use functions in Here Documentation like you can in BASH?
In BASH it would look like this
cat << END
Here is some output: $someVar
Here is some more: ls -l
END
And it would evaluate and replace both the Variable someVar as well as the command ls -l.
I know you can use variables in PHP's Here Doc, but what about functions?