NYCPHP Meetup

NYPHP.org

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

Webapprentice . webapprentice at mail.com
Wed Jan 7 00:28:51 EST 2004


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<<<<
-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm




More information about the talk mailing list