On Mon, April 30, 2007 7:18 pm, Paul Novitski wrote:
> When I first started using PHP I thought that each heredoc label had
> to be unique.  Turns out that's not true, and now I use the simple
> shorthand:
>
> $sResult = <<<_
> Some text.
> _;

I suspect earlier versions of PHP required unique labels...

At least, I *still* thought they had to be unique... :-)

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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

Reply via email to