Re: Double quotes for NOWDOCS
| From: | Dmitry Stogov | Date: | Fri, 15 Feb 2008 10:07:45 +0000 |
| Subject: | Re: Double quotes for NOWDOCS | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35512@lists.php.net to get a copy of this message | ||
the semantic of "NOWDOC with double quotes" should be the same as HEREDOC.
Dmitry.
Lars Strojny wrote:
Hi, I know, I might be a bit late but I've played around with NOWDOCS and one issue popped up instantly: it seems not really logical to me, why only single quotes are allowed and I have the feeling a lot of users will ask the same questions. The problem is, that we are used to the way we define strings. Both variants are possible, single-quotes and double quotes. Now we are going to use NOWDOCS and only single quotes are allowed. I think allowing both would be a good idea, so here is the patch: http://lars.schokokeks.org/php/nowdocs_double_quotes-1.diff cu, Lars