Re: namespace issues

From: Date: Tue, 23 Sep 2008 08:07:58 +0000
Subject: Re: namespace issues
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-40620@lists.php.net to get a copy of this message
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

« previous php.internals (#40620) next »