1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 22:11:12 +02:00
Files
archived-php-src/Zend/tests/ns_046.phpt
2008-12-04 20:12:30 +00:00

12 lines
177 B
PHP

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