xref: /PHP-5.3/Zend/tests/ns_052.phpt (revision 7126de49)
1--TEST--
2052: Name conflict and compile-time constants (php name in case if ns name exists)
3--FILE--
4<?php
5namespace test\ns1;
6
7const INI_ALL = 0;
8
9function foo($x = \INI_ALL) {
10	var_dump($x);
11}
12foo();
13--EXPECT--
14int(7)
15