array get_extension_funcs ( string
$module_name
) (参数必选)
该函数根据 module_name
返回模块内定义的所有函数的名称。
例如:
$arr = get_extension_funcs('curl'); echo "<pre>";print_r($arr);
打印结果如下:
Array ( [0] => curl_init [1] => curl_copy_handle [2] => curl_version [3] => curl_setopt [4] => curl_setopt_array [5] => curl_exec [6] => curl_getinfo [7] => curl_error [8] => curl_errno [9] => curl_close [10] => curl_multi_init [11] => curl_multi_add_handle [12] => curl_multi_remove_handle [13] => curl_multi_select [14] => curl_multi_exec [15] => curl_multi_getcontent [16] => curl_multi_info_read [17] => curl_multi_close )