Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36652 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10671 invoked from network); 28 Mar 2008 14:14:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Mar 2008 14:14:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=gwynne@wanderingknights.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=gwynne@wanderingknights.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain wanderingknights.org from 208.97.132.207 cause and error) X-PHP-List-Original-Sender: gwynne@wanderingknights.org X-Host-Fingerprint: 208.97.132.207 sd-green-bigip-207.dreamhost.com Linux 2.4/2.6 Received: from [208.97.132.207] ([208.97.132.207:38765] helo=postalmail-a5.g.dreamhost.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/A0-25926-C5DFCE74 for ; Fri, 28 Mar 2008 09:14:52 -0500 Received: from [192.168.2.192] (c-24-128-82-179.hsd1.ma.comcast.net [24.128.82.179]) by postalmail-a5.g.dreamhost.com (Postfix) with ESMTP id 8D5A5BF262; Fri, 28 Mar 2008 07:14:49 -0700 (PDT) To: Marcus Boerger In-Reply-To: <1076994067.20080324135943@marcus-boerger.de> X-Priority: 3 (Normal) References: <1206217047.10080.53.camel@localhost> <1076994067.20080324135943@marcus-boerger.de> Message-ID: <7B451EFF-42EE-4253-A93E-86B9DBE10EB9@wanderingknights.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Fri, 28 Mar 2008 10:14:48 -0400 Cc: Lars Strojny , internals@lists.php.net X-Mailer: Apple Mail (2.919.2) Subject: Re: [PHP-DEV] [RFC] Double quoted NOWDOC is HEREDOC From: gwynne@wanderingknights.org (Gwynne Raskind) On Mar 24, 2008, at 8:59 AM, Marcus Boerger wrote: > Hello Lars, > > to me this makes pretty much sense on a second glance as it perfectly > reflects what our string would do. And for someone learning 'NOWDOC', > using "HEREDOC" seems just natural. > So I am all +1 > Consistency and satisfying expectations rocks! > > marcus As the original proposer of nowdocs, I also give it a +1 for consistency! -- Gwynne, Daughter of the Code "This whole world is an asylum for the incurable." > Saturday, March 22, 2008, 9:17:27 PM, you wrote: >> Hi, >> as we introduce NOWDOC in 5.3 it would be logical to allow a double >> quoted syntax sister of NOWDOC which acts as HEREDOC (same as for >> $var = >> "$var" vs $var = '$var'). Currently we have the following options: >> $var = "Hello world"; >> $str = <<