summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_008.phpt
blob: 2c2c9180cfc7173c9b2bdf28a2a85928d02725ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
008: __NAMESPACE__ constant and runtime names (ns name)
--FILE--
<?php
namespace test;

class foo {
}

$x = __NAMESPACE__ . "\\foo"; 
echo get_class(new $x),"\n";
--EXPECT--
test\foo