xref: /php-src/ext/reflection/tests/bug49092.phpt (revision dd2876c3)
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