Double quotes for NOWDOCS
| From: | Lars Strojny | Date: | Fri, 15 Feb 2008 06:41:33 +0000 |
| Subject: | Double quotes for NOWDOCS | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-35505@lists.php.net to get a copy of this message | ||
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
--
»Die Glorifizierung der prächtigen underdogs läuft auf
die des prächtigen Systems heraus, das sie dazu macht.«
-- Theodor W. Adorno, »Minima Moralia«: They, the people
Lars Strojny
Nießenstr. 36
51103 Cologne
Jabber/Mail: lars@strojny.net
Weblog: http://usrportage.de
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc