Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35022 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78218 invoked by uid 1010); 30 Jan 2008 14:19:16 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 78203 invoked from network); 30 Jan 2008 14:19:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2008 14:19:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.82.235 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 66.249.82.235 wx-out-0506.google.com Received: from [66.249.82.235] ([66.249.82.235:36950] helo=wx-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 33/0E-47977-26780A74 for ; Wed, 30 Jan 2008 09:19:15 -0500 Received: by wx-out-0506.google.com with SMTP id s14so322654wxc.26 for ; Wed, 30 Jan 2008 06:19:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ACNWv/WS5h9mNKGtb+Q9gpDHIIFNz6c2hoF0MeeYoaI=; b=wTmhSyHxd7/gOds2zEkKQvUlhMdFru0YvrkzokBIAGOuGzuGVqbPhHeDsfr79c7sSyrphhxqZ1B0qFAvfe3GxBKRE+Nizos5Ps1mDDLmHnxynH5bZFxJlQSBKQgd4epid1TAzlbiA+7Qw14zcFLYbfV4up/I9YxF06gsVv3EFro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TrLExb6FW4pQfcG2rcUYp1yeYcJQF1A+6PYcCKLlhTzbMKuF1Uc47u+0FEvdwlZZ0bueKTTXWwOpjN2ZkvFREk5W4a2mtXLjS6+JbqXudioDmXKkOqzAj+Q+ES1sjP5WnAB7CSoLYVEMYB8RItJxxLyUgWlycEk22D66dd8mYs8= Received: by 10.140.142.6 with SMTP id p6mr554765rvd.224.1201702751778; Wed, 30 Jan 2008 06:19:11 -0800 (PST) Received: by 10.141.151.21 with HTTP; Wed, 30 Jan 2008 06:19:11 -0800 (PST) Message-ID: Date: Wed, 30 Jan 2008 15:19:11 +0100 To: "Antony Dovgal" Cc: "Dmitry Stogov" , "Stanislav Malyshev" , "PHP Internals" In-Reply-To: <47A08314.60507@daylessday.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <479114FD.6010005@zend.com> <47A07E86.4010008@zend.com> <47A08314.60507@daylessday.org> Subject: Re: [PHP-DEV] nowdocs again From: pierre.php@gmail.com ("Pierre Joye") On Jan 30, 2008 3:00 PM, Antony Dovgal wrote: > On 30.01.2008 16:41, Dmitry Stogov wrote: > > The final nowdoc patches are attached. > > I'm going to commit them on Thursday in case of no objections. > > So the current syntax is > > $var = <<<'TEXT' > text > 'TEXT'; > > am I right? > > I believe it's far from readable and clear and I suggest not to add it until > we have a better syntax. What do you suggest? :) > Also looking at the discussion, I can see only 6 people involved (including Dmitry), > which most likely means nobody is really interested in that "nowdoc" and this is > yet another reason not to add it. > > P.S. I personally see no need in such thing at all. I'm pretty sure there is more people interested. I find nowdoc very handy and is the perfect complement to heredoc. -- Pierre http://blog.thepimp.net | http://www.libgd.org