summaryrefslogtreecommitdiff
path: root/Zend/tests/bug69388_2.phpt
blob: b55153b492e808f787142e9641e77ca5e12dee81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Bug #69388 - Variation
--FILE--
<?php
function handle_error($code, $message, $file, $line, $context) {
    eval('namespace Foo;');
    echo "$message\n";
}

set_error_handler('handle_error');
eval('namespace {use Exception;}');

?>
--EXPECT--
The use statement with non-compound name 'Exception' has no effect