[PHP-DEV] 回复: [PHP-DEV] [RFC] Proposal namespace importing with from syntax

2012-07-24 Thread Reeze Xia
Hi Stas, 在 2012年7月25日星期三,上午2:33,Stas Malyshev 写道: > Hi! > > > from GlobalNamespace\SubSpace\ThirdSace use Class1, Class2 as Alias2, > > ForthSpace\Class3 as Alias3; > > I'm not sure it's necessary. If you import a real lot of the classes > from the same namespace, just import the parent na

[PHP-DEV] 回复: [PHP-DEV] [RFC] Proposal namespace importing with from syntax

2012-07-24 Thread Reeze
Hi Andrew, 在 2012年7月24日星期二,下午11:39,Andrew Faulds 写道: > On 24/07/12 16:35, Reeze wrote: > > Hi, internals, > > I'm proposing a improvement to namespace importing. when using 'use' > > statement to import > > many classes, we have to duplicate many times even we are importing from > > the same na