NYCPHP Meetup

NYPHP.org

[nycphp-talk] Can code be executed in a heredoc?

kevin c smith ksmith at centricle.com
Wed Feb 18 08:56:46 EST 2004


>> Aside from personal preference, is there a compelling reason to kick
>> back out to HTML, as Hans suggests?

> not having to escape all your quotes in echos?
>
> echo "<a href=\"http://www.nyphp.org\">Link text</a>";

Right, but in the context of a heredoc, that's moot.

-- 
kevin c smith
http://centricle.com



More information about the talk mailing list