php-src/Zend/tests/ns_047.phpt

13 lines
170 B
Plaintext
Raw Normal View History

2007-08-24 13:50:52 +00:00
--TEST--
047: Run-time name conflict and constants (php name)
--FILE--
<?php
2008-12-04 20:12:30 +00:00
namespace test\ns1;
2007-08-24 13:50:52 +00:00
const INI_ALL = 0;
var_dump(constant("INI_ALL"));
?>
2007-08-24 13:50:52 +00:00
--EXPECT--
int(7)