1--TEST--
2non-existent imported functions should not be looked up in the global table
3--FILE--
4<?php
5
6namespace {
7    function test() {
8        echo "NO!";
9    }
10}
11namespace foo {
12    use function bar\test;
13    test();
14}
15
16?>
17--EXPECTF--
18Fatal error: Uncaught Error: Call to undefined function bar\test() in %s:%d
19Stack trace:
20#0 {main}
21  thrown in %s on line %d
22