Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39019 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55406 invoked from network); 16 Jul 2008 20:06:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jul 2008 20:06:05 -0000 Authentication-Results: pb1.pair.com header.from=stefan.priebsch@e-novative.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=stefan.priebsch@e-novative.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain e-novative.de from 85.214.26.34 cause and error) X-PHP-List-Original-Sender: stefan.priebsch@e-novative.de X-Host-Fingerprint: 85.214.26.34 eno001.e-novative.de Linux 2.5 (sometimes 2.4) (4) Received: from [85.214.26.34] ([85.214.26.34:3483] helo=eno001.e-novative.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7B/D4-54589-9A45E784 for ; Wed, 16 Jul 2008 16:06:04 -0400 Received: from [127.0.0.1] (p57AE5232.dip.t-dialin.net [87.174.82.50]) by eno001.e-novative.de (Postfix) with ESMTP id BBA1C84437D; Wed, 16 Jul 2008 22:36:11 +0200 (CEST) Message-ID: <487E549F.8020001@e-novative.de> Date: Wed, 16 Jul 2008 22:05:51 +0200 Organization: e-novative GmbH User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Stanislav Malyshev CC: internals@lists.php.net References: <1216138090.15841.11.camel@steve-laptop> <7f3ed2c30807160034h483ecb49m189e298ba6615406@mail.gmail.com> <487E0D6F.9080609@e-novative.de> <487E4FAE.3050101@zend.com> In-Reply-To: <487E4FAE.3050101@zend.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Namespace problem? From: stefan.priebsch@e-novative.de (Stefan Priebsch) Stanislav Malyshev schrieb: > Hi! > >> around a namespace, so I'd boldly suggest either fixing the curly >> braces notation to allow use statements or disallow curly braces around > > Use statements should be at the top, as the influence whole file scope. I know, but namespace must be the first statement in a script, so I can't put use _before_ the namespace. > >> namespaces, because as it is, it doesn't really seem useful. > > What doesn't seem useful? What exactly you are trying to do? Trying to use curly braces around my namespace for readability. But I can't put a use statement _into_ these namespaces, neither can I put the use _before_ the namespace. That means: I cannot use namespaces with curly braces combined with a use statement. This makes the curly braces pretty pointless. Regards, Stefan -- >e-novative> - We make IT work for you. e-novative GmbH - HR: Amtsgericht München HRB 139407 Sitz: Wolfratshausen - GF: Dipl. Inform. Stefan Priebsch http://www.e-novative.de - GnuPG Key: 0x7DB67F7F