Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33799 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42920 invoked by uid 1010); 6 Dec 2007 13:09:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 42905 invoked from network); 6 Dec 2007 13:09:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Dec 2007 13:09:55 -0000 Authentication-Results: pb1.pair.com header.from=r.borschel@gmx.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=r.borschel@gmx.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.net designates 213.165.64.20 as permitted sender) X-PHP-List-Original-Sender: r.borschel@gmx.net X-Host-Fingerprint: 213.165.64.20 mail.gmx.net Linux 2.5 (sometimes 2.4) (4) Received: from [213.165.64.20] ([213.165.64.20:56363] helo=mail.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/55-33463-2A4F7574 for ; Thu, 06 Dec 2007 08:09:54 -0500 Received: (qmail invoked by alias); 06 Dec 2007 13:09:51 -0000 Received: from e178101232.adsl.alicedsl.de (EHLO [192.168.0.2]) [85.178.101.232] by mail.gmx.net (mp031) with SMTP; 06 Dec 2007 14:09:51 +0100 X-Authenticated: #13379417 X-Provags-ID: V01U2FsdGVkX1971VpvSuB7oR8SiaDw86yijTAj5sLhY872jmgglk 9l2M5DurnWzMEk Message-ID: <4EE0727E-ABBA-490D-B247-8C6E9A9727BA@gmx.net> To: internals@lists.php.net In-Reply-To: <5474E017-DF97-4B91-8FE0-7D6831E64F56@bitxtender.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v915) Date: Thu, 6 Dec 2007 14:09:49 +0100 References: <475713B2.4030802@iamjochem.com> <475719ED.8050306@zend.com> <200712052110.37023.larry@garfieldtech.com> <47576AEF.4030306@omegavortex.net> <5474E017-DF97-4B91-8FE0-7D6831E64F56@bitxtender.com> X-Mailer: Apple Mail (2.915) X-Y-GMX-Trusted: 0 Subject: Re: [PHP-DEV] Namespace From: r.borschel@gmx.net (Roman Borschel) I don't agree with that. I think multiple namespaces per file would be =20= fine with the current syntax as this is a feature that would not be =20 used by that many people and if it's used it's not for development =20 purposes (who wants to read a class bundle with no comments, =20 linebreaks etc.?) and therefore the readability/consistency doesn't =20 matter much. It's not that I don't like braces but imho its not a necessity to move =20= to braces just to allow multiple namespaces in a file. Roman On Dec 6, 2007, at 1:34 PM, David Z=FClke wrote: > Am 06.12.2007 um 04:22 schrieb Jeremy Privett: > >> I know I just finished praising you just some hours ago, Stas, but =20= >> I'm going to have to step in and agree with Larry on this one. It =20 >> really doesn't make sense for there to be no braces for namespaces =20= >> (especially if you're going to allow multiple per file). A =20 >> namespace is a logical grouping of classes/functions and other =20 >> constructs of this type in PHP use braces. That is very confusing =20 >> syntax when compared to other areas of the language. > > +1. If we allow multiple namespaces per file, then braces are an =20 > absolute must for consistency IMO. > > > David > > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php