xref: /PHP-8.0/Zend/tests/ns_049.phpt (revision 7aacc705)
1--TEST--
2049: __NAMESPACE__ constant and runtime names (php name)
3--FILE--
4<?php
5const FOO = 0;
6
7var_dump(constant(__NAMESPACE__ . "\\FOO"));
8?>
9--EXPECT--
10int(0)
11