1--TEST-- 2053: Run-time constant definition 3--FILE-- 4<?php 5namespace test\ns1; 6 7define(__NAMESPACE__ . '\\NAME', basename(__FILE__)); 8echo NAME."\n"; 9echo \test\ns1\NAME."\n"; 10?> 11--EXPECT-- 12ns_053.php 13ns_053.php 14