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