xref: /PHP-5.4/Zend/tests/ns_053.phpt (revision 7126de49)
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--EXPECT--
11ns_053.php
12ns_053.php
13
14