php-src/Zend/tests/ns_045.phpt
2007-08-24 13:50:52 +00:00

12 lines
175 B
PHP

--TEST--
045: Name conflict and constants (php name in case if ns name exists)
--FILE--
<?php
namespace test::ns1;
const INI_ALL = 0;
var_dump(::INI_ALL);
--EXPECT--
int(7)