summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_049.phpt
blob: 91e516579bfef5eaf9ff529d335019994f55686d (plain)
1
2
3
4
5
6
7
8
9
--TEST--
049: __NAMESPACE__ constant and runtime names (php name)
--FILE--
<?php
const FOO = 0;

var_dump(constant(__NAMESPACE__ . "\\FOO"));
--EXPECT--
int(0)