xref: /PHP-5.4/Zend/tests/ns_009.phpt (revision 610c7fbe)
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--EXPECT--
11foo
12