Re: What does "<<<" mean?
| From: | Richard Lynch | Date: | Wed, 02 May 2007 20:47:22 +0000 |
| Subject: | Re: What does "<<<" mean? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-254272@lists.php.net to get a copy of this message | ||
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?