Re: I am RTFM, but still stumbling on how to get built-in functions parsed in heredoc
| From: | Daniel Brown | Date: | Sat, 11 Jul 2009 15:23:11 +0000 |
| Subject: | Re: I am RTFM, but still stumbling on how to get built-in functions parsed in heredoc | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-295214@lists.php.net to get a copy of this message | ||
On Sat, Jul 11, 2009 at 11:05, tedd<tedd.sperling@gmail.com> wrote:
>
> Side note: Paul Novitski showed me using an underscore for heredocs:
>
> $html =<<<_
> whatever
> _;
>
> That I thought was kind of neat. To me it makes heredocs stand out and are
> more uniform.
I used $html =<<<HTML because it then syntax-highlights as
HTML+PHP in Vim, and as many know, almost everything I do is from the
command line and Vim.
--
</Daniel P. Brown>
daniel.brown@parasane.net || danbrown@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Check out our great hosting and dedicated server deals at
http://twitter.com/pilotpig