I was wondering how, if possible, I would be able to run a function in a heredoc syntax, e.g.
How would I do this:
echo <<<EOT
foreach($a->$b as $c) {echo $c }
EOT;
EDIT: I know the title says "some questions", but I found most of my answers at php.net.