php-src/Zend/tests/ns_047.phpt
2008-12-04 20:12:30 +00:00

12 lines
167 B
PHP

--TEST--
047: Run-time name conflict and constants (php name)
--FILE--
<?php
namespace test\ns1;
const INI_ALL = 0;
var_dump(constant("INI_ALL"));
--EXPECT--
int(7)