blob: 6597d0d30173d725a8989e7af7caa548c578f5fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--TEST--
non-existent imported functions should not be looked up in the global table
--FILE--
<?php
require 'includes/global_baz.php';
use function foo\bar\baz;
var_dump(baz());
?>
--EXPECTF--
Fatal error: Call to undefined function foo\bar\baz() in %s on line %d
|