On 6 March 2015 at 16:35, Alexander Lisachenko <lisachenko...@gmail.com>
wrote:

> Hello!
>
> 2015-03-05 22:40 GMT+03:00 Anthony Ferrara <ircmax...@gmail.com>:
>
> > This requires use to immediately follow namespace declarations:
> >
> > namespace Foo {
> >     use Bar; //valid
> > }
> > namespace Bar {
> >     use Foo; //valid, second namespace in file
> > }
> > namespace Baz {
> >     echo "Hi!";
> >     use Foo; // Invalid
> > }
> >
> > This did break approximately 30 internal tests, but they were all
> > testing this specific code path (or bugs related to it).
> >
>
> I like this way, because it's more logical and readable. There aren't
> unpredictable effects and misunderstanding with interpretation of source
> code.
>

+1



-- 
Reeze Xia
http://reeze.cn

Reply via email to