Hello!
2015-03-05 22:40 GMT+03:00 Anthony Ferrara <[email protected]>:
> 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.