Re: [RFC] Double quoted NOWDOC is HEREDOC
| From: | Edward Z. Yang | Date: | Sun, 23 Mar 2008 02:39:11 +0000 |
| Subject: | Re: [RFC] Double quoted NOWDOC is HEREDOC | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36357@lists.php.net to get a copy of this message | ||
Steph Fox wrote:
> Just one. Why?
Probably to be consistent. Let's say a hypothetical user learns to use
NOWDOC before HEREDOC: which syntax are they more likely to use;
'NOWDOC' or "HEREDOC".
However, I too am -1 because this smacks of the Perl philosophy of "more
than one to do things", which, in terms of syntax, is completely
unnecessary.
--
Edward Z. Yang GnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]