summaryrefslogtreecommitdiff
path: root/Zend/tests/bug69388_2.phpt
blob: d597365bc8440929a676bb3675a17c4fb57690de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Bug #69388 - Variation
--FILE--
<?php
error_reporting(E_ALL | E_STRICT);
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