|
|
1.1 misho 1: --TEST--
2: 008: __NAMESPACE__ constant and runtime names (ns name)
3: --FILE--
4: <?php
5: namespace test;
6:
7: class foo {
8: }
9:
10: $x = __NAMESPACE__ . "\\foo";
11: echo get_class(new $x),"\n";
12: --EXPECT--
13: test\foo