mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
17 lines
354 B
Plaintext
17 lines
354 B
Plaintext
|
--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
|