1--TEST--
2use and use function with the same alias
3--FILE--
4<?php
5
6namespace {
7    function foo() {
8        return 'foo';
9    }
10}
11
12namespace x {
13    use foo as bar;
14    use function foo as bar;
15    var_dump(bar());
16}
17
18?>
19--EXPECT--
20string(3) "foo"
21