<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: 寻找函数定义在哪个模块</title>
	<atom:link href="http://www.laruence.com/2008/08/22/404.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.laruence.com/2008/08/22/404.html</link>
	<description>PHP语言, PHP扩展, Zend引擎相关的研究,技术,新闻分享 - 左手代码 右手诗</description>
	<lastBuildDate>Thu, 09 Feb 2012 12:31:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: lxylxy888666</title>
		<link>http://www.laruence.com/2008/08/22/404.html/comment-page-1#comment-2543</link>
		<dc:creator>lxylxy888666</dc:creator>
		<pubDate>Sun, 02 May 2010 14:26:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=404#comment-2543</guid>
		<description>仅能够找函数，结构语言就找不到，比如echo</description>
		<content:encoded><![CDATA[<p>仅能够找函数，结构语言就找不到，比如echo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laruence</title>
		<link>http://www.laruence.com/2008/08/22/404.html/comment-page-1#comment-1747</link>
		<dc:creator>laruence</dc:creator>
		<pubDate>Wed, 20 May 2009 10:07:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=404#comment-1747</guid>
		<description>php手册:

Description
array get_loaded_extensions ( void )</description>
		<content:encoded><![CDATA[<p>php手册:</p>
<p>Description<br />
array get_loaded_extensions ( void )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark long</title>
		<link>http://www.laruence.com/2008/08/22/404.html/comment-page-1#comment-1746</link>
		<dc:creator>Mark long</dc:creator>
		<pubDate>Wed, 20 May 2009 06:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=404#comment-1746</guid>
		<description>$funcs = get_extension_funcs($m);

此句会出现非数组的警告，应该改为：

$funcs = (array)get_extension_funcs($m);</description>
		<content:encoded><![CDATA[<p>$funcs = get_extension_funcs($m);</p>
<p>此句会出现非数组的警告，应该改为：</p>
<p>$funcs = (array)get_extension_funcs($m);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.laruence.com/2008/08/22/404.html/comment-page-1#comment-207</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 07 Oct 2008 03:31:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=404#comment-207</guid>
		<description>,,,,因为我们的环境还不容许使用Reflection APIS, 就直接写脚本了, 没什么大用，就是挺有意思的，；）</description>
		<content:encoded><![CDATA[<p>,,,,因为我们的环境还不容许使用Reflection APIS, 就直接写脚本了, 没什么大用，就是挺有意思的，；）</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xyz</title>
		<link>http://www.laruence.com/2008/08/22/404.html/comment-page-1#comment-206</link>
		<dc:creator>xyz</dc:creator>
		<pubDate>Mon, 06 Oct 2008 18:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=404#comment-206</guid>
		<description>C:\&gt;php －－rf array_search
Function [ ＜internal:standard＞ function array_search ] {

  - Parameters [3] {
    Parameter #0 [  $needle ]
    Parameter #1 [  $haystack ]
    Parameter #2 [  $strict ]
  }
}</description>
		<content:encoded><![CDATA[<p>C:\&gt;php －－rf array_search<br />
Function [ ＜internal:standard＞ function array_search ] {</p>
<p>  &#8211; Parameters [3] {<br />
    Parameter #0 [  $needle ]<br />
    Parameter #1 [  $haystack ]<br />
    Parameter #2 [  $strict ]<br />
  }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xyz</title>
		<link>http://www.laruence.com/2008/08/22/404.html/comment-page-1#comment-205</link>
		<dc:creator>xyz</dc:creator>
		<pubDate>Mon, 06 Oct 2008 18:24:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=404#comment-205</guid>
		<description>C:\&gt;php --rf array_search
Function [  function array_search ] {

  - Parameters [3] {
    Parameter #0 [  $needle ]
    Parameter #1 [  $haystack ]
    Parameter #2 [  $strict ]
  }
}</description>
		<content:encoded><![CDATA[<p>C:\&gt;php &#8211;rf array_search<br />
Function [  function array_search ] {</p>
<p>  &#8211; Parameters [3] {<br />
    Parameter #0 [  $needle ]<br />
    Parameter #1 [  $haystack ]<br />
    Parameter #2 [  $strict ]<br />
  }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 雪候鸟</title>
		<link>http://www.laruence.com/2008/08/22/404.html/comment-page-1#comment-194</link>
		<dc:creator>雪候鸟</dc:creator>
		<pubDate>Fri, 26 Sep 2008 08:47:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=404#comment-194</guid>
		<description>哦？ 受教了，谢谢，呵呵。</description>
		<content:encoded><![CDATA[<p>哦？ 受教了，谢谢，呵呵。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NoAngels</title>
		<link>http://www.laruence.com/2008/08/22/404.html/comment-page-1#comment-193</link>
		<dc:creator>NoAngels</dc:creator>
		<pubDate>Fri, 26 Sep 2008 08:00:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=404#comment-193</guid>
		<description>发现这段代码貌似有点问题:因为不是每个module用get_extension_funcs返回的都是数组,所以可以改动代码如下:
&lt;?php
$function_name = $argv[1];
$modules = get_loaded_extensions();
foreach($modules as $m){
    $funcs = get_extension_funcs($m);
	if (is_array($funcs)){
		if(in_array($function_name, $funcs)){
			printf(&quot;%s was defined in Module: %s\n&quot;, $function_name, $m);;
			exit;
		}
	}
}</description>
		<content:encoded><![CDATA[<p>发现这段代码貌似有点问题:因为不是每个module用get_extension_funcs返回的都是数组,所以可以改动代码如下:<br />
&lt;?php<br />
$function_name = $argv[1];<br />
$modules = get_loaded_extensions();<br />
foreach($modules as $m){<br />
    $funcs = get_extension_funcs($m);<br />
	if (is_array($funcs)){<br />
		if(in_array($function_name, $funcs)){<br />
			printf(&#8220;%s was defined in Module: %s\n&#8221;, $function_name, $m);;<br />
			exit;<br />
		}<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

