Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35506 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71564 invoked by uid 1010); 15 Feb 2008 06:41:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71545 invoked from network); 15 Feb 2008 06:41:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Feb 2008 06:41:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain strojny.net designates 85.10.204.248 as permitted sender) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 85.10.204.248 milch.schokokeks.org Received: from [85.10.204.248] ([85.10.204.248:58684] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EA/82-21909-22435B74 for ; Fri, 15 Feb 2008 01:41:39 -0500 Received: from [192.168.0.8] (xdsl-87-79-226-150.netcologne.de [::ffff:87.79.226.150]) (AUTH: PLAIN lars@schokokeks.org, SSL: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by milch.schokokeks.org with esmtp; Fri, 15 Feb 2008 07:41:36 +0100 id 0000000000020011.0000000047B53420.000017C7 To: PHP Internals Date: Thu, 14 Feb 2008 23:23:13 +0100 Message-ID: <1203027793.3638.4.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Mailer: Evolution 2.21.5 Subject: Double quotes for NOWDOCS From: lars@strojny.net (Lars Strojny) Hi, I know I am a bit late, but I've played around with NOWDOCS this evening, and one issue thing came up instantly: I asked myself why the heck are single quotes allowed but not double quotes? This seems to me counter intuitive to the way we handle strings in PHP. I think it would be perfectly alright to allow both, single quotes and double quotes. My proposed patch: http://lars.schokokeks.org/php/nowdocs_double_quotes-1.diff cu, Lars