On Sat, Jul 11, 2009 at 11:05, tedd<tedd.sperl...@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.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Check out our great hosting and dedicated server deals at
http://twitter.com/pilotpig

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to