Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

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 add a note User Contributed Notes
get_extension_funcs
CraquePipe
25-Oct-2007 08:49
This snippet will show all of your installed extensions:

<pre>
<?php

$Extensions
= get_loaded_extensions();
foreach(
$Extensions as $Extension) {
  echo(
"<hr><h2>$Extension</h2>");
 
print_r(get_extension_funcs($Extension));
}

?>
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.

get_include_path> <get_defined_constants
Last updated: Sat, 27 Jan 2007
 
 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com
Z058440144362 Z348613067571