Feature Request: HERE Docs within a function?
| From: | Joey | Date: | Fri, 10 Dec 1999 01:07:10 +0000 |
| Subject: | Feature Request: HERE Docs within a function? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7748@lists.php.net to get a copy of this message | ||
Would it be possible to allow me to use here docs within a function...
I wanted to do:
function page_start($some_vars, ...)
{
print <<< EOH
<HTML>
...
EOH;
}
But I get a bunch of backslashes and a parse error.
--Joey Smith