Re: [RFC] Double quoted NOWDOC is HEREDOC
| From: | Lars Strojny | Date: | Mon, 24 Mar 2008 10:55:01 +0000 |
| Subject: | Re: [RFC] Double quoted NOWDOC is HEREDOC | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36418@lists.php.net to get a copy of this message | ||
Hi Steph,
Am Sonntag, den 23.03.2008, 01:58 +0000 schrieb Steph Fox:
>
> Just one. Why?
We have double and single quotes for variable assignments. On of the
reasons we use single quotes for NOWDOC was because it is as in variable
assignments. If we follow that argument, there is no reason why
$var = <<<"LABEL"
foo
LABEL;
should no work. That's why :-)
cu, Lars
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc