Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35512 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38790 invoked by uid 1010); 15 Feb 2008 10:07:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 38775 invoked from network); 15 Feb 2008 10:07:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Feb 2008 10:07:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:26455] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D5/D4-26828-57465B74 for ; Fri, 15 Feb 2008 05:07:50 -0500 Received: (qmail 10767 invoked from network); 15 Feb 2008 10:07:45 -0000 Received: from unknown (HELO ?10.1.20.12?) (10.1.20.12) by mail.zend.net with SMTP; 15 Feb 2008 10:07:45 -0000 Message-ID: <47B56471.4030309@zend.com> Date: Fri, 15 Feb 2008 13:07:45 +0300 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Lars Strojny CC: PHP Internals List References: <1203057693.3483.3.camel@localhost> In-Reply-To: <1203057693.3483.3.camel@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Double quotes for NOWDOCS From: dmitry@zend.com (Dmitry Stogov) 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