ReflectionExtension::getFunctions
获取扩展中的函数
&reftitle.description;
public arrayReflectionExtension::getFunctions
获取扩展中定义的函数。
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
返回 ReflectionFunction 对象数组,数组索引为函数名。如果扩展中没有定义函数,将返回空数组。
&reftitle.examples;
ReflectionExtension::getFunctions 示例
getFunctions());
?>
]]>
&example.outputs.similar;
ReflectionFunction Object
(
[name] => simplexml_load_file
)
[simplexml_load_string] => ReflectionFunction Object
(
[name] => simplexml_load_string
)
[simplexml_import_dom] => ReflectionFunction Object
(
[name] => simplexml_import_dom
)
)
]]>
&reftitle.seealso;
ReflectionExtension::getClasses
get_extension_funcs