php-src/Zend/tests/ns_047.phpt

12 lines
167 B
Plaintext
Raw Normal View History

2007-09-28 19:52:53 +00:00
--TEST--
047: Run-time name conflict and constants (php name)
--FILE--
<?php
namespace test\ns1;
2007-09-28 19:52:53 +00:00
const INI_ALL = 0;
var_dump(constant("INI_ALL"));
--EXPECT--
int(7)