summaryrefslogtreecommitdiff
path: root/Zend/tests/bug69388_2.phpt
blob: 40b14e02577f71a8ea881528c898b04644c3169c (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) {
    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