1--TEST-- 2018: __NAMESPACE__ constant and runtime names (ns name) 3--FILE-- 4<?php 5namespace test; 6 7function foo() { 8 return __FUNCTION__; 9} 10 11$x = __NAMESPACE__ . "\\foo"; 12echo $x(),"\n"; 13?> 14--EXPECT-- 15test\foo 16