Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31814 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29449 invoked by uid 1010); 21 Aug 2007 20:50:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29434 invoked from network); 21 Aug 2007 20:50:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Aug 2007 20:50:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=dz@bitxtender.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=dz@bitxtender.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain bitxtender.com from 80.237.132.12 cause and error) X-PHP-List-Original-Sender: dz@bitxtender.com X-Host-Fingerprint: 80.237.132.12 wp005.webpack.hosteurope.de Received: from [80.237.132.12] ([80.237.132.12:47494] helo=wp005.webpack.hosteurope.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AE/00-28809-9FF4BC64 for ; Tue, 21 Aug 2007 16:50:03 -0400 Received: from [87.79.35.58] (helo=[192.168.0.164]); authenticated by wp005.webpack.hosteurope.de running ExIM using esmtpsa (TLSv1:RC4-SHA:128) id 1INafm-0007zY-Ba; Tue, 21 Aug 2007 22:49:58 +0200 In-Reply-To: <46CB457D.8050305@chiaraquartet.net> References: <46C9F217.8040804@chiaraquartet.net> <200708210039.26755.larry@garfieldtech.com> <46CA7EBF.20909@zend.com> <46CB3882.7090408@chiaraquartet.net> <2E8520C2-0B46-47CB-8B7F-2A25FF3DAA6A@bitxtender.com> <46CB457D.8050305@chiaraquartet.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-ID: <7DE7CD7F-DAFC-44D5-8072-44DBE0AAA885@bitxtender.com> Cc: Stanislav Malyshev , internals@lists.php.net Content-Transfer-Encoding: quoted-printable Date: Tue, 21 Aug 2007 22:49:56 +0200 To: Gregory Beaver X-Mailer: Apple Mail (2.752.2) X-bounce-key: webpack.hosteurope.de;dz@bitxtender.com;1187729403;a1926e8c; Subject: Re: [PHP-DEV] [PATCH] allowing multiple namespaces per file plusnamespaces with brackets From: dz@bitxtender.com (=?ISO-8859-1?Q?David_Z=FClke?=) Greg, sorry, "behavior" was probably not the right word. In any case, they =20 are different, because the one approach allows users to declare just =20 one namespace, and the other one allows to declare any number of =20 namespaces. That's what I meant. There really is no need for =20 ambiguities like this; the curly braces syntax would be enough. David Am 21.08.2007 um 22:05 schrieb Gregory Beaver: > David Z=FClke wrote: >> I think there should be just one way to designate a namespace, not =20= >> two >> different ones with different behaviors. > > Hi David, > > First, the behaviors are not different, just the syntax. Of course =20= > you > can have more than one namespace per file with brackets, but the stuff > within that namespace reacts identically to the other format. > > Second, if the consensus is one syntax, I'd say that's not really a =20= > big > deal. Doing so would simply involve removing one line from > zend_language_parser.y, rewording the error message, and dropping the > brackets parameters from zend_do_namespace's proto. For now, it's > better to investigate the ramifications of the patch first, as this > decision could be made quite easily closer to the first release. > > Greg > > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >