1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 00:44:57 +03:00
semantic/test/fixtures/php/analysis/namespaces.php
2018-03-23 08:57:02 -07:00

29 lines
247 B
PHP

<?php
namespace NS1\Sub1\Sub2
{
function f() {
return 1;
}
}
namespace NS1
{
function b() {
return "hi";
}
}
namespace NS1
{
function c() {
return "x";
}
}
namespace Foo
{
\NS1\Sub1\Sub2\f();
\NS1\b();
\NS1\c();
}