xref: /php-src/Zend/tests/namespaces/ns_049.phpt (revision 275f63e7)
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