php-src/Zend/tests/ns_046.phpt
2020-08-09 22:03:36 +02:00

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)