php-src/Zend/tests/bug69388_2.phpt
Nikita Popov d2607a0110 Move more stuff to file_context
Introduce helper macro FC(x) for CG(file_context).x.

end_compilation() now handled by file_context_end().

While at it, dropped zval wrapper for ticcks.
2015-04-21 17:39:07 +02:00

17 lines
354 B
PHP

--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