mirror of
https://github.com/php/php-src.git
synced 2024-12-18 06:21:41 +08:00
16 lines
245 B
PHP
16 lines
245 B
PHP
--TEST--
|
|
Crash when using dynamic call syntax with fully qualified name in a namespace
|
|
--FILE--
|
|
<?php
|
|
|
|
namespace Foo;
|
|
try {
|
|
('\bar')();
|
|
} catch (\Error $e) {
|
|
echo $e->getMessage(), "\n";
|
|
}
|
|
|
|
?>
|
|
--EXPECT--
|
|
Call to undefined function bar()
|