Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35036 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55928 invoked by uid 1010); 30 Jan 2008 19:07:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55885 invoked from network); 30 Jan 2008 19:07:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2008 19:07:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; 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:62199] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/8C-14302-644C0A74 for ; Wed, 30 Jan 2008 13:39:03 -0500 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 30 Jan 2008 20:38:59 +0200 Received: from [192.168.17.41] ([192.168.17.41]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 30 Jan 2008 10:38:55 -0800 Message-ID: <47A0C43E.9040500@zend.com> Date: Wed, 30 Jan 2008 10:38:54 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Antony Dovgal CC: RQuadling@GoogleMail.com, PHP Internals References: <479114FD.6010005@zend.com> <47A07E86.4010008@zend.com> <47A08314.60507@daylessday.org> <47A08B1B.9090304@daylessday.org> <10845a340801300646p2ab78808j68dfeabd314ca967@mail.gmail.com> <47A08FD7.9070906@daylessday.org> In-Reply-To: <47A08FD7.9070906@daylessday.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Jan 2008 18:38:55.0865 (UTC) FILETIME=[5E898690:01C8636F] Subject: Re: [PHP-DEV] nowdocs again From: stas@zend.com (Stanislav Malyshev) > $string = 'it\'s not that hard to add a $slash'; It's not too hard to add a slash unless you have to do it in a big chunk of text that may contain quotes, slashes, etc. - e.g. random PHP code for a template generation. Going over it each time is sure recipe for errors, and is very annoying. Having something that can accept any text with absolutely no modification looks a good idea to me, and far more than "saving one keystroke". -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com