mirror of
https://github.com/php/php-src.git
synced 2024-10-03 07:46:12 +00:00
13 lines
249 B
PHP
13 lines
249 B
PHP
--TEST--
|
|
Bug #49092 (ReflectionFunction fails to work with functions in fully qualified namespaces)
|
|
--FILE--
|
|
<?php
|
|
namespace ns;
|
|
function func(){}
|
|
new \ReflectionFunction('ns\func');
|
|
new \ReflectionFunction('\ns\func');
|
|
echo "Ok\n"
|
|
?>
|
|
--EXPECT--
|
|
Ok
|