<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_35100"> <strong>定位函数所在模块</strong> <div class="blockcode"> <div id="code_Bqw"><ol> <li> <li>$function_name = $argv[1];</li> <li>$modules = get_loaded_extensions();</li> <li>foreach($modules as $m){</li> <li> $funcs = get_extension_funcs($m);</li> <li> if(in_array($function_name, $funcs)){</li> <li> printf("%s was defined in Module: %sn", $function_name, $m);</li> <li> exit;</li> <li> }</li> <li>}</li> <li>print $function_name ." Must be defined in user defined PHP script filesn";</li> </ol></div> <em onclick="copycode($('code_Bqw'));">复制代码</em> </div> </td></tr></table> <div id="comment_35100" class="cm"> </div> <div id="post_rate_div_35100"></div> <br><br>