mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
7aacc705d0
Closes GH-5958
13 lines
180 B
PHP
13 lines
180 B
PHP
--TEST--
|
|
046: Run-time name conflict and constants (ns name)
|
|
--FILE--
|
|
<?php
|
|
namespace test\ns1;
|
|
|
|
const INI_ALL = 0;
|
|
|
|
var_dump(constant("test\\ns1\\INI_ALL"));
|
|
?>
|
|
--EXPECT--
|
|
int(0)
|