ReflectionExtension::getFunctions

(PHP 5, PHP 7)

ReflectionExtension::getFunctions锟斤拷取锟斤拷展锟叫的猴拷锟斤拷

说锟斤拷

public ReflectionExtension::getFunctions ( void ) : array

锟斤拷取锟斤拷展锟叫讹拷锟斤拷暮锟斤拷锟斤拷锟�

锟斤拷锟斤拷

锟剿猴拷锟斤拷没锟叫诧拷锟斤拷锟斤拷

锟斤拷锟斤拷值

锟斤拷锟斤拷一锟斤拷ReflectionFunction锟斤拷锟斤拷锟斤拷锟介,锟斤拷锟斤拷锟斤拷锟斤拷为锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟秸癸拷锟矫伙拷卸锟斤拷搴拷锟斤拷锟斤拷锟斤拷锟斤拷乜锟斤拷锟斤拷椤�

锟斤拷锟斤拷

Example #1 ReflectionExtension::getFunctions() example

<?php
$dom 
= new ReflectionExtension('SimpleXML');

print_r($dom->getFunctions());
?>

锟斤拷锟斤拷锟斤拷锟教碉拷锟斤拷锟斤拷锟斤拷锟斤拷冢锟�

Array
(
    [simplexml_load_file] => ReflectionFunction Object
        (
            [name] => simplexml_load_file
        )

    [simplexml_load_string] => ReflectionFunction Object
        (
            [name] => simplexml_load_string
        )

    [simplexml_import_dom] => ReflectionFunction Object
        (
            [name] => simplexml_import_dom
        )

)

锟轿硷拷