blob: 3837643cf260a9429a0cbb5add58b7508fcd6fbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--TEST--
048: __NAMESPACE__ constant and runtime names (ns name)
--FILE--
<?php
namespace test::ns1;
const FOO = 0;
var_dump(constant(__NAMESPACE__ . "::FOO"));
--EXPECT--
int(0)
|