NYCPHP Meetup

NYPHP.org

[nycphp-talk] Re: Evaluating variables in a heredoc (Curly Braces)

Jeff Siegel jsiegel1 at optonline.net
Wed Jan 7 07:01:48 EST 2004


FYI: The "PHP Cookbook" has a nice little piece on this stuff.
(See: http://phundamentals.nyphp.org/PH_bookrecommendations.php )

Jeff Siegel

Webapprentice . wrote:

> Dan,
> Thanks for the link.  I vague remember the curly braces also used in Perl, but it's been a while since I used Perl.  It's going to have to come back to me slowly and probably painfully.  heh
> 
> --Stephen
> 
> 
> 
> Date: Tue, 06 Jan 2004 00:03:22 -0500
> From: Dan Cech <dcech at phpwerx.net>
> 
> Subject: Re: [nycphp-talk] Re: Evaluating variables in a heredoc (Found
> 	answer)
> To: NYPHP Talk <talk at lists.nyphp.org>
> 
> Message-ID: <3FFA419A.2010708 at phpwerx.net>
> 
> Content-Type: text/plain; charset=us-ascii; format=flowed
> 
> Using this syntax will work for simple arrays, but it is generally 
> preferable to use the curly brackets syntax, as it will also work
> with 
> object variables, etc.
> 
> You can read more here: http://www.php.net/types.string
> 
> Dan<<<<

-- 
Found on the Simpson's Website:
"Ooooooh, they have the internet on computers now!"




More information about the talk mailing list