php-src/Zend/tests/ns_045.phpt

12 lines
175 B
Plaintext
Raw Normal View History

2007-08-24 13:50:52 +00:00
--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)