xref: /PHP-8.0/Zend/tests/ns_052.phpt (revision 7aacc705)
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?>
14--EXPECT--
15int(7)
16