1--TEST--
2function that is conditionally defined is subject to symbol use checks
3--FILE--
4<?php
5
6if (0) {
7    function foo() {
8    }
9}
10
11use function bar\foo;
12
13echo "Done";
14
15?>
16--EXPECTF--
17Fatal error: Cannot use function bar\foo as foo because the name is already in use in %s on line %d
18