Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33805 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70128 invoked by uid 1010); 6 Dec 2007 17:49:36 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 70112 invoked from network); 6 Dec 2007 17:49:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Dec 2007 17:49:36 -0000 Authentication-Results: pb1.pair.com header.from=michaelm@swplumb.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=michaelm@swplumb.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain swplumb.com from 209.181.81.165 cause and error) X-PHP-List-Original-Sender: michaelm@swplumb.com X-Host-Fingerprint: 209.181.81.165 mail.swplumb.com Windows XP Pro SP1, 2000 SP3 Received: from [209.181.81.165] ([209.181.81.165:4247] helo=swplumb.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 32/50-15167-E2638574 for ; Thu, 06 Dec 2007 12:49:35 -0500 Received: from michael-ms-computer.local [192.168.2.66] by swplumb.com with ESMTP (SMTPD-9.22) id A54B0320; Thu, 06 Dec 2007 10:45:47 -0700 Message-ID: <4758362B.8070504@swplumb.com> Date: Thu, 06 Dec 2007 10:49:31 -0700 User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 CC: internals@lists.php.net 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> <47582DC0.2040004@zend.com> <16F02B8A-6394-4175-9473-C4967606386C@bitxtender.com> In-Reply-To: <16F02B8A-6394-4175-9473-C4967606386C@bitxtender.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Namespace From: michaelm@swplumb.com (Michael McGlothlin) I agree that braces are the way to go. Otherwise it's to easy to lose track of what namespace you're working with. > If a namespace can be valid for a portion of code in one file, then it > should be possible to use the same syntax as for all other blocks in > PHP. You wouldn't suggest this: > > > class Foo; > > public function zomg() {} > > class Bar; > > public function lolz() {} > > > would you? Not the same thing, but you get the idea. > > > David > > > Am 06.12.2007 um 18:13 schrieb Stanislav Malyshev: > >>> +1. If we allow multiple namespaces per file, then braces are an >>> absolute must for consistency IMO. >> >> I do not see any relation between consistency and braces. >> -- >> Stanislav Malyshev, Zend Software Architect >> stas@zend.com http://www.zend.com/ >> (408)253-8829 MSN: stas@zend.com >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php > -- Michael McGlothlin Southwest Plumbing Supply