Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40620 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8178 invoked from network); 23 Sep 2008 08:08:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Sep 2008 08:08:04 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.94.239.7 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.7 mail.jdi-ict.nl Linux 2.6 Received: from [82.94.239.7] ([82.94.239.7:44366] helo=mail.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DD/9D-35835-1E3A8D84 for ; Tue, 23 Sep 2008 04:08:03 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id m8N87wcA005973; Tue, 23 Sep 2008 10:07:59 +0200 Date: Tue, 23 Sep 2008 10:07:58 +0200 (CEST) X-X-Sender: derick@kossu.ez.no To: Stanislav Malyshev cc: "'PHP Internals'" In-Reply-To: <48D7F5EF.3090202@zend.com> Message-ID: References: <48D7F5EF.3090202@zend.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Subject: Re: [PHP-DEV] namespace issues From: derick@php.net (Derick Rethans) On Mon, 22 Sep 2008, Stanislav Malyshev wrote: > On the ZendCon, we (Marcus, Elizabeth, Andi and myself) had a talk > about what we'd like to do with namespaces, and we arrived at the > following conclusions, which we propose to implement in 5.3: > > 1. Allow braces for namespaces. > 2. Simplify resolution order for classes in the namespace: unqualified > names are resolved this way: > a) check "use" list if the name was defined at "use", follow that > resolution > b) if not, the name resolves to namespace::name > 3. Functions will not be allowed inside namespaces. > Comments? +1 regards, Derick -- HEAD before 5_3!: http://tinyurl.com/6d2esb http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org