xref: /php-src/Zend/tests/namespaces/ns_009.phpt (revision 275f63e7)
1--TEST--
2009: __NAMESPACE__ constant and runtime names (php name)
3--FILE--
4<?php
5class foo {
6}
7
8$x = __NAMESPACE__ . "\\foo";
9echo get_class(new $x),"\n";
10?>
11--EXPECT--
12foo
13