Lines Matching refs:function
6 function foo() {}
8 $function = new \ReflectionFunction('sort');
9 var_dump($function->inNamespace());
10 var_dump($function->getName());
11 var_dump($function->getNamespaceName());
12 var_dump($function->getShortName());
14 $function = new \ReflectionFunction('A\\B\\foo');
15 var_dump($function->inNamespace());
16 var_dump($function->getName());
17 var_dump($function->getNamespaceName());
18 var_dump($function->getShortName());