WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
PHP Web Logs (BLogs)
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Submit Site
Forex Trading Online forex trading platform
Returns an array with the names of the functions of a module

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 .

Parameters

module_name

The module name.

Note: This parameter must be in lowercase.

Return Values

Returns an array with all the functions, or FALSE if module_name is not a valid extension.

Examples

Example #1 Prints the XML functions

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

The above example will output something similar to:

 
 Array (     [0] => xml_parser_create     [1] => xml_parser_create_ns     [2] => xml_set_object     [3] => xml_set_element_handler     [4] => xml_set_character_data_handler     [5] => xml_set_processing_instruction_handler     [6] => xml_set_default_handler     [7] => xml_set_unparsed_entity_decl_handler     [8] => xml_set_notation_decl_handler     [9] => xml_set_external_entity_ref_handler     [10] => xml_set_start_namespace_decl_handler     [11] => xml_set_end_namespace_decl_handler     [12] => xml_parse     [13] => xml_parse_into_struct     [14] => xml_get_error_code     [15] => xml_error_string     [16] => xml_get_current_line_number     [17] => xml_get_current_column_number     [18] => xml_get_current_byte_index     [19] => xml_parser_free     [20] => xml_parser_set_option     [21] => xml_parser_get_option     [22] => utf8_encode     [23] => utf8_decode )