summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_053.phpt
blob: dd3ff76693346309885b0cda20a3e6a30007f62f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
053: Run-time constant definition
--FILE--
<?php
namespace test\ns1;

define(__NAMESPACE__ . '\\NAME', basename(__FILE__));
echo NAME."\n";
echo \test\ns1\NAME."\n";
--EXPECT--
ns_053.php
ns_053.php