PHP: get_extension_funcs - Manual

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

search for in the

get_include_path get_defined_constants

Last updated: Sat, 27 Jan 2007

view this page in

# get_extension_funcs

(PHP 4, PHP 5)

get_extension_funcs -- Returns an array with the names of the functions of a module

## Description

array get_extension_funcs ( string module_name )

This function returns the names of all the functions defined in the module indicated by `module_name`.

> Замечание: The `module_name` parameter must be in lowercase.

For example the lines below

`<?php print_r(get_extension_funcs("xml")); print_r(get_extension_funcs("gd")); ?>`

will print a list of the functions in the modules `xml` and `gd` respectively.

See also: get_loaded_extensions()

add a note User Contributed Notes
get_extension_funcs
JM
05-Jun-2006 07:40
`FALSE is returned if there are no functions in that extension. For example, <?php get_extension_funcs("xmlreader"); ?> returns FALSE because that extension defines the XMLReader class but not functions.`
add a note
get_include_path get_defined_constants

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST