downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

ReflectionExtension::getINIEntries> <ReflectionExtension::getDependencies
[edit] Last updated: Fri, 24 Jun 2011

view this page in

ReflectionExtension::getFunctions

(PHP 5)

ReflectionExtension::getFunctionsدریافت توابع ضمیمه

Description

public array ReflectionExtension::getFunctions ( void )

دریافت توابع تعریف شده ضمیمه.

Parameters

This function has no parameters.

Return Values

آرایه شرکت‌پذیر اشیا ReflectionFunction برای هر تابع تعریف شده در این ضمیمه و کلیدها نام تابع . اگر تابعی تعریف نشده باشد آرایه خالی بازگردانده می‌شود.

Examples

Example #1 مثال ReflectionExtension::getFunctions()

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

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

The above example will output something similar to:

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
        )

)

See Also



add a note add a note User Contributed Notes ReflectionExtension::getFunctions - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites