mirror of
https://github.com/php/php-src.git
synced 2024-11-29 12:53:37 +08:00
10 lines
160 B
PHP
10 lines
160 B
PHP
--TEST--
|
|
049: __NAMESPACE__ constant and runtime names (php name)
|
|
--FILE--
|
|
<?php
|
|
const FOO = 0;
|
|
|
|
var_dump(constant(__NAMESPACE__ . "\\FOO"));
|
|
--EXPECT--
|
|
int(0)
|