Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36421 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6923 invoked from network); 24 Mar 2008 13:00:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Mar 2008 13:00:17 -0000 Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:53827] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 93/50-04656-0E5A7E74 for ; Mon, 24 Mar 2008 08:00:17 -0500 Received: from MBOERGER-ZRH.corp.google.com (84-210.0-85.cust.bluewin.ch [85.0.210.84]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id 3295F11F189; Mon, 24 Mar 2008 14:00:14 +0100 (CET) Date: Mon, 24 Mar 2008 13:59:43 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1076994067.20080324135943@marcus-boerger.de> To: Lars Strojny CC: internals@lists.php.net In-Reply-To: <1206217047.10080.53.camel@localhost> References: <1206217047.10080.53.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] [RFC] Double quoted NOWDOC is HEREDOC From: helly@php.net (Marcus Boerger) 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 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 = <<