1--TEST--
2non-existent imported functions should not be looked up in the global table
3--FILE--
4<?php
5
6require 'includes/global_baz.inc';
7
8use function foo\bar\baz;
9var_dump(baz());
10
11?>
12--EXPECTF--
13Fatal error: Uncaught Error: Call to undefined function foo\bar\baz() in %s:%d
14Stack trace:
15#0 {main}
16  thrown in %s on line %d
17