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

From: Date: Sat, 11 Jul 2009 15:32:34 +0000
Subject: Re: I am RTFM, but still stumbling on how to get built-in functions parsed in heredoc
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-295216@lists.php.net to get a copy of this message
On Saturday 11 July 2009 16:23:11 Daniel Brown wrote: > 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 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

« previous php.general (#295216) next »