1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 17:05:33 +03:00
semantic/test/fixtures/php/analysis/namespaces.php

29 lines
247 B
PHP
Raw Normal View History

2018-03-23 18:57:02 +03:00
<?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();
}