Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34831 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57717 invoked by uid 1010); 18 Jan 2008 21:07:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 57702 invoked from network); 18 Jan 2008 21:07:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jan 2008 21:07:20 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@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: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:8250] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 71/74-27426-40511974 for ; Fri, 18 Jan 2008 16:07:18 -0500 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 18 Jan 2008 23:07:11 +0200 Received: from [192.168.16.90] ([192.168.16.90]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 18 Jan 2008 13:07:08 -0800 Message-ID: <479114FD.6010005@zend.com> Date: Fri, 18 Jan 2008 13:07:09 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: 'PHP Internals' Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Jan 2008 21:07:08.0713 (UTC) FILETIME=[16217190:01C85A16] Subject: nowdocs again From: stas@zend.com (Stanislav Malyshev) Hi all! I remember the topic of 'nowdocs' (if you don't remember what it is, read on) was already discussed, but nothing really happened about it. For those who just recently woke up from cryogenic sleep :), "nowdocs" are heredocs extension that does not interpret the content (think single quotes instead of double quotes). Should look something like: $foo = <<<'END' blah$fooblah END unline regular heredocs, $foo would be left as-is. I think now it's good to add it to 5.3 (and I like 'FOO' syntax best of all variants). Any objections to this? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com