xref: /PHP-5.3/Zend/tests/ns_050.phpt (revision 7126de49)
1--TEST--
2050: Name conflict and compile-time constants (ns name)
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(0)
15