php-src/Zend/tests/ns_046.phpt
Dmitry Stogov f32ffe9b43 Namespaces
2007-09-28 19:52:53 +00:00

12 lines
178 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)