Re: I am RTFM, but still stumbling on how to get built-in functions parsed in heredoc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 11 July 2009 16:23:11 Daniel Brown wrote:
> On Sat, Jul 11, 2009 at 11:05, tedd<tedd.sperling@xxxxxxxxx> 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@xxxxxxxxxxxx || danbrown@xxxxxxx
> http://www.parasane.net/ || http://www.pilotpig.net/
> Check out our great hosting and dedicated server deals at
> http://twitter.com/pilotpig

Now that is very useful to know! I'm going to try that out to see if other 
*nix editors handle it the same way

-- 
Thanks,
Ash
http://www.ashleysheridan.co.uk

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux