Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35026 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95972 invoked by uid 1010); 30 Jan 2008 14:55:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 95957 invoked from network); 30 Jan 2008 14:55:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2008 14:55:07 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; 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:1800] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/22-14302-9CF80A74 for ; Wed, 30 Jan 2008 09:55:07 -0500 Received: (qmail 24503 invoked from network); 30 Jan 2008 14:55:02 -0000 Received: from cvs.zend.com (HELO ?127.0.0.1?) (10.1.1.1) by mail.zend.net with SMTP; 30 Jan 2008 14:55:02 -0000 Message-ID: <47A08FC5.8020208@zend.com> Date: Wed, 30 Jan 2008 17:55:01 +0300 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Antony Dovgal CC: Stanislav Malyshev , 'PHP Internals' References: <479114FD.6010005@zend.com> <47A07E86.4010008@zend.com> <47A08314.60507@daylessday.org> In-Reply-To: <47A08314.60507@daylessday.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] nowdocs again From: dmitry@zend.com (Dmitry Stogov) The feature is very useful, however, I agree, the syntax would be better. :) The current syntax: $var = <<<'TEXT' text TEXT; Thanks. Dmitry. 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. > > 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. >