mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +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)
|