xref: /PHP-7.3/Zend/tests/bug69388_2.phpt (revision 1a3bdb4a)
1--TEST--
2Bug #69388 - Variation
3--FILE--
4<?php
5function handle_error($code, $message, $file, $line, $context) {
6    eval('namespace Foo;');
7    echo "$message\n";
8}
9
10set_error_handler('handle_error');
11eval('namespace {use Exception;}');
12
13?>
14--EXPECT--
15The use statement with non-compound name 'Exception' has no effect
16