1--TEST--
2use function should ignore namespaced constants
3--FILE--
4<?php
5
6namespace foo {
7    const bar = 42;
8}
9
10namespace {
11    const bar = 43;
12}
13
14namespace {
15    use function foo\bar;
16    var_dump(bar);
17    echo "Done\n";
18}
19
20?>
21--EXPECT--
22int(43)
23Done
24