blob: 2b57524a0ae65f58c9c9119d87536b626de44d6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--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: Uncaught EngineException: Call to undefined function foo\bar\baz() in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
|