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