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