1--TEST--
2non-existent imported constants should not be looked up in the global table
3--FILE--
4<?php
5
6require 'includes/global_baz.php';
7
8use const foo\bar\baz;
9var_dump(baz);
10
11?>
12--EXPECTF--
13Notice: Use of undefined constant baz - assumed 'baz' in %s on line %d
14string(3) "baz"
15