xref: /PHP-7.2/Zend/tests/ns_053.phpt (revision f1d7e3ca)
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