Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35038 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72434 invoked by uid 1010); 30 Jan 2008 19:21:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 72419 invoked from network); 30 Jan 2008 19:21:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2008 19:21:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=adam@trachtenberg.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=adam@trachtenberg.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain trachtenberg.com from 216.93.242.2 cause and error) X-PHP-List-Original-Sender: adam@trachtenberg.com X-Host-Fingerprint: 216.93.242.2 miranda.org Linux 2.6 Received: from [216.93.242.2] ([216.93.242.2:53067] helo=miranda.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 08/D0-14302-E1EC0A74 for ; Wed, 30 Jan 2008 14:21:03 -0500 Received: (qmail 4122 invoked from network); 30 Jan 2008 14:21:00 -0500 Received: from unknown (HELO localhost) (216.93.242.2) by miranda.org with SMTP; 30 Jan 2008 14:21:00 -0500 Date: Wed, 30 Jan 2008 14:21:00 -0500 (EST) X-X-Sender: adam@miranda.org To: Stanislav Malyshev cc: Antony Dovgal , 'PHP Internals' In-Reply-To: <47A0C487.3060604@zend.com> Message-ID: References: <479114FD.6010005@zend.com> <47A07E86.4010008@zend.com> <47A08314.60507@daylessday.org> <47A0C487.3060604@zend.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] nowdocs again From: adam@trachtenberg.com (Adam Maccabee Trachtenberg) On Wed, 30 Jan 2008, Stanislav Malyshev wrote: > > 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. > > I don't see how 'foo' is anything but obvious to anybody that gives > himself a second to actually think about it. I don't see how this is obvious. Since nowdocs isn't an existing concept, someone who comes across it isn't going to recognize the syntax as special. Therefore, I don't know why people would assume that a delimiter token surrounded by single quotatation marks (i.e. a nowdoc) isn't just a regular delimiter token that happens to have single quotation marks around it (i.e. a heredoc). I would expect people to be confused. -adam -- adam@trachtenberg.com | http://www.trachtenberg.com author of o'reilly's "upgrading to php 5" and "php cookbook" avoid the holiday rush, buy your copies today!