xref: /PHP-5.5/ext/reflection/tests/bug49092.phpt (revision adf8f72f)
1--TEST--
2Bug #49092 (ReflectionFunction fails to work with functions in fully qualified namespaces)
3--FILE--
4<?php
5namespace ns;
6function func(){}
7new \ReflectionFunction('ns\func');
8new \ReflectionFunction('\ns\func');
9echo "Ok\n"
10?>
11--EXPECT--
12Ok
13