mirror of
https://github.com/php/php-src.git
synced 2024-09-25 03:47:26 +00:00
12 lines
177 B
PHP
12 lines
177 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)
|