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