xref: /PHP-8.0/Zend/tests/bug69388_2.phpt (revision 2f1f3495)
1--TEST--
2Bug #69388 - Variation
3--FILE--
4<?php
5function handle_error($code, $message, $file, $line) {
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