xref: /php-src/Zend/tests/namespaces/ns_048.phpt (revision 275f63e7)
1--TEST--
2048: __NAMESPACE__ constant and runtime names (ns name)
3--FILE--
4<?php
5namespace test\ns1;
6
7const FOO = 0;
8
9var_dump(constant(__NAMESPACE__ . "\\FOO"));
10?>
11--EXPECT--
12int(0)
13