<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Observer Life &#187; PHP</title>
	<atom:link href="http://observerlife.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://observerlife.com</link>
	<description>To be a better man (Observer)</description>
	<lastBuildDate>Thu, 09 Sep 2010 14:10:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>PHP5.3 RC2发布</title>
		<link>http://observerlife.com/php5-3-rc2%e5%8f%91%e5%b8%83/</link>
		<comments>http://observerlife.com/php5-3-rc2%e5%8f%91%e5%b8%83/#comments</comments>
		<pubDate>Thu, 07 May 2009 16:48:24 +0000</pubDate>
		<dc:creator>ycg</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[5.3]]></category>

		<guid isPermaLink="false">http://www.kedy.cn/blog/?p=401</guid>
		<description><![CDATA[今天凌晨，php.net上发布了这个消息：PHP 5.3.0RC2 Release Announcement，消息说，5.3 RC2主要集中精力于提升稳定性和bug的改进，并无太多新的特性出来，并且希望能在2-3周后发布 RC3时，需要做最小的改动即可。PHP官方也建议说，现在是测试PHP5.3，并为将来升级到PHP5.3的好时机，因为在RC2、RC3之后不久，将会有正式版本出来。 又一个新的东西，看来需要准备点时间来测试PHP5.3和MySQL5.4了，否则就又成了说空话了。 Related Posts:[转载]新版GTD流程图-中文-非常精彩根据时间段的生理状态选择适合从事的活动现在不坚持，以后都会放弃！Mac OS X下常用软件减少协议可提升Vista网络性能]]></description>
			<content:encoded><![CDATA[<p>今天凌晨，<a target="_blank" href="http://www.php.net">php.net</a>上发布了这个消息：<a target="_blank" class="bookmark" rel="bookmark" href="http://www.php.net/archive/2009.php#id2009-05-07-1" id="id2009-05-07-1" name="id2009-05-07-1">PHP 5.3.0RC2 Release Announcement</a>，消息说，5.3 RC2主要集中精力于提升稳定性和bug的改进，并无太多新的特性出来，并且希望能在2-3周后发布 RC3时，需要做最小的改动即可。<a target="_blank" href="http://www.php.net">PHP官方</a>也建议说，现在是测试PHP5.3，并为将来升级到PHP5.3的好时机，因为在RC2、RC3之后不久，将会有正式版本出来。</p>
<p>又一个新的东西，看来需要准备点时间来测试PHP5.3和<a href="http://www.kedy.cn/show-399-1.html" target="_blank">MySQL5.4</a>了，否则就又成了说空话了。</p>
<p><a class="bookmark" rel="bookmark" href="http://www.php.net/archive/2009.php#id2009-05-07-1" id="id2009-05-07-1" name="id2009-05-07-1"></a></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://observerlife.com/%e8%bd%ac%e8%bd%bd%e6%96%b0%e7%89%88gtd%e6%b5%81%e7%a8%8b%e5%9b%be-%e4%b8%ad%e6%96%87-%e9%9d%9e%e5%b8%b8%e7%b2%be%e5%bd%a9/" rel="bookmark" class="crp_title">[转载]新版GTD流程图-中文-非常精彩</a></li><li><a href="http://observerlife.com/%e6%a0%b9%e6%8d%ae%e6%97%b6%e9%97%b4%e6%ae%b5%e7%9a%84%e7%94%9f%e7%90%86%e7%8a%b6%e6%80%81%e9%80%89%e6%8b%a9%e9%80%82%e5%90%88%e4%bb%8e%e4%ba%8b%e7%9a%84%e6%b4%bb%e5%8a%a8/" rel="bookmark" class="crp_title">根据时间段的生理状态选择适合从事的活动</a></li><li><a href="http://observerlife.com/%e7%8e%b0%e5%9c%a8%e4%b8%8d%e5%9d%9a%e6%8c%81%ef%bc%8c%e4%bb%a5%e5%90%8e%e9%83%bd%e4%bc%9a%e6%94%be%e5%bc%83%ef%bc%81/" rel="bookmark" class="crp_title">现在不坚持，以后都会放弃！</a></li><li><a href="http://observerlife.com/softwares-of-mac-os-x/" rel="bookmark" class="crp_title">Mac OS X下常用软件</a></li><li><a href="http://observerlife.com/%e5%87%8f%e5%b0%91%e5%8d%8f%e8%ae%ae%e5%8f%af%e6%8f%90%e5%8d%87vista%e7%bd%91%e7%bb%9c%e6%80%a7%e8%83%bd/" rel="bookmark" class="crp_title">减少协议可提升Vista网络性能</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://observerlife.com/php5-3-rc2%e5%8f%91%e5%b8%83/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP里的文件状态缓存</title>
		<link>http://observerlife.com/php%e9%87%8c%e7%9a%84%e6%96%87%e4%bb%b6%e7%8a%b6%e6%80%81%e7%bc%93%e5%ad%98/</link>
		<comments>http://observerlife.com/php%e9%87%8c%e7%9a%84%e6%96%87%e4%bb%b6%e7%8a%b6%e6%80%81%e7%bc%93%e5%ad%98/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 23:02:07 +0000</pubDate>
		<dc:creator>ycg</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[状态缓存]]></category>

		<guid isPermaLink="false">http://www.kedy.cn/blog/?p=293</guid>
		<description><![CDATA[PHP里部分文件状态操作是会缓存的，如果忽略了这些信息，可能会导致程序里出错。如我在生成多级目录时如 &#34;b5/b5/cd..&#34;类似的目录结构时，使用is_dir， is_dir会缓存第一次&#8220;d5&#8221;为目录的信息，从而在第二步判断时直接返回true，导致二级d5目录未能正常生成 。话不多讲，看PHP里的clearstatchar()方法： clearstatcache (PHP 4, PHP 5) clearstatcache &#8212; 清除文件状态缓存 说明 void clearstatcache ( void ) 当使用 stat()，lstat() 或者任何列在受影响函数表（见下面）中的函数时，PHP 将缓存这些函数的返回信息以提供更快的性能。然而在某些情况下，你可能想清除被缓存的信息。例如如果在一个脚本中多次检查同一个文件，而该文件在此脚本执行期间有被删除或修改的危险时，你需要清除文件状态缓存。这种情况下，可以用 clearstatcache() 函数来清除被 PHP 缓存的该文件信息。 必须注意的是，对于不存在的文件，PHP 并不会缓存其信息。所以如果调用 file_exists() 来检查不存在的文件，在该文件没有被创建之前，它都会返回 FALSE。如果该文件被创建了，就算以后被删除，它都会返回 TRUE Note: 本函数缓存特定文件名的信息，因此只在对同一个文件名进行多次操作并且需要该文件信息不被缓存时才需要调用 clearstatcache()。 受影响的函数包括 stat()，lstat()，file_exists()，is_writable()，is_readable()，is_executable()，is_file()，is_dir()，is_link()，filectime()，fileatime()，filemtime()，fileinode()，filegroup()，fileowner()，filesize()，filetype() 和 fileperms()。 Related Posts:preg_replace_callback()怎样使用类中的回调函数MySQL5.4的改进PHP Interview questions from YAHOO承诺JS——设置、获取、删除 cookie 的功能]]></description>
			<content:encoded><![CDATA[<p>PHP里部分文件状态操作是会缓存的，如果忽略了这些信息，可能会导致程序里出错。如我在生成多级目录时如 &quot;b5/b5/cd..&quot;类似的目录结构时，使用is_dir， is_dir会缓存第一次&ldquo;d5&rdquo;为目录的信息，从而在第二步判断时直接返回true，导致二级d5目录未能正常生成 。话不多讲，看PHP里的clearstatchar()方法：</p>
<div class="refnamediv">
<h1 class="refname">clearstatcache</h1>
<p class="verinfo">(PHP 4, PHP 5)</p>
<p class="refpurpose">clearstatcache &mdash; 清除文件状态缓存</p>
</div>
<div class="refsect1 u">
<h3 class="title">说明</h3>
<div class="methodsynopsis"><span class="type">void</span> <span class="methodname"><strong><strong>clearstatcache</strong></strong></span> ( <span class="methodparam">void</span> )</div>
<p class="para">当使用 <a class="function" href="function.stat.html">stat()</a>，<a class="function" href="function.lstat.html">lstat()</a> 或者任何列在受影响函数表（见下面）中的函数时，PHP  将缓存这些函数的返回信息以提供更快的性能。然而在某些情况下，你可能想清除被缓存的信息。例如如果在一个脚本中多次检查同一个文件，而该文件在此脚本执行期间有被删除或修改的危险时，你需要清除文件状态缓存。这种情况下，可以用  <strong>clearstatcache()</strong> 函数来清除被 PHP 缓存的该文件信息。</p>
<p class="para">必须注意的是，对于不存在的文件，PHP 并不会缓存其信息。所以如果调用 <a class="function" href="function.file-exists.html">file_exists()</a> 来检查不存在的文件，在该文件没有被创建之前，它都会返回  <strong><tt>FALSE</tt></strong>。如果该文件被创建了，就算以后被删除，它都会返回 <strong><tt>TRUE</tt></strong></p>
<blockquote>
<p><strong class="note">Note</strong>: 本函数缓存特定文件名的信息，因此只在对同一个文件名进行多次操作并且需要该文件信息不被缓存时才需要调用  <strong>clearstatcache()</strong>。</p>
</blockquote>
<p class="para">受影响的函数包括 <a class="function" href="function.stat.html">stat()</a>，<a class="function" href="function.lstat.html">lstat()</a>，<a class="function" href="function.file-exists.html">file_exists()</a>，<a class="function" href="function.is-writable.html">is_writable()</a>，<a class="function" href="function.is-readable.html">is_readable()</a>，<a class="function" href="function.is-executable.html">is_executable()</a>，<a class="function" href="function.is-file.html">is_file()</a>，<a class="function" href="function.is-dir.html">is_dir()</a>，<a class="function" href="function.is-link.html">is_link()</a>，<a class="function" href="function.filectime.html">filectime()</a>，<a class="function" href="function.fileatime.html">fileatime()</a>，<a class="function" href="function.filemtime.html">filemtime()</a>，<a class="function" href="function.fileinode.html">fileinode()</a>，<a class="function" href="function.filegroup.html">filegroup()</a>，<a class="function" href="function.fileowner.html">fileowner()</a>，<a class="function" href="function.filesize.html">filesize()</a>，<a class="function" href="function.filetype.html">filetype()</a> 和 <a class="function" href="function.fileperms.html">fileperms()</a>。</p>
</div>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://observerlife.com/preg_replace_callback%e6%80%8e%e6%a0%b7%e4%bd%bf%e7%94%a8%e7%b1%bb%e4%b8%ad%e7%9a%84%e5%9b%9e%e8%b0%83%e5%87%bd%e6%95%b0/" rel="bookmark" class="crp_title">preg_replace_callback()怎样使用类中的回调函数</a></li><li><a href="http://observerlife.com/mysql5-4%e7%9a%84%e6%94%b9%e8%bf%9b/" rel="bookmark" class="crp_title">MySQL5.4的改进</a></li><li><a href="http://observerlife.com/php-interview-questions-from-yahoo/" rel="bookmark" class="crp_title">PHP Interview questions from YAHOO</a></li><li><a href="http://observerlife.com/%e6%89%bf%e8%af%ba/" rel="bookmark" class="crp_title">承诺</a></li><li><a href="http://observerlife.com/js%e2%80%94%e2%80%94%e8%ae%be%e7%bd%ae%e3%80%81%e8%8e%b7%e5%8f%96%e3%80%81%e5%88%a0%e9%99%a4-cookie-%e7%9a%84%e5%8a%9f%e8%83%bd/" rel="bookmark" class="crp_title">JS——设置、获取、删除 cookie 的功能</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://observerlife.com/php%e9%87%8c%e7%9a%84%e6%96%87%e4%bb%b6%e7%8a%b6%e6%80%81%e7%bc%93%e5%ad%98/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP效率优化</title>
		<link>http://observerlife.com/php%e6%95%88%e7%8e%87%e4%bc%98%e5%8c%96/</link>
		<comments>http://observerlife.com/php%e6%95%88%e7%8e%87%e4%bc%98%e5%8c%96/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 20:14:39 +0000</pubDate>
		<dc:creator>ycg</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[效率优化]]></category>

		<guid isPermaLink="false">http://www.kedy.cn/blog/?p=303</guid>
		<description><![CDATA[PHP效率优化 http://www.javaeye.com/topic/69100 Related Posts:北京车站电话信息EX-GF给的分手帖，不知说什么好微软的免费大餐:Microsoft E-Learning for SQL Server 2005Mac OS X下常用软件words to share &#8212; series 2]]></description>
			<content:encoded><![CDATA[<p>PHP效率优化<br />
<a target="_blank" href="http://www.javaeye.com/topic/69100"> http://www.javaeye.com/topic/69100</a></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://observerlife.com/%e5%8c%97%e4%ba%ac%e8%bd%a6%e7%ab%99%e7%94%b5%e8%af%9d%e4%bf%a1%e6%81%af/" rel="bookmark" class="crp_title">北京车站电话信息</a></li><li><a href="http://observerlife.com/ex-gf%e7%bb%99%e7%9a%84%e5%88%86%e6%89%8b%e5%b8%96%ef%bc%8c%e4%b8%8d%e7%9f%a5%e8%af%b4%e4%bb%80%e4%b9%88%e5%a5%bd/" rel="bookmark" class="crp_title">EX-GF给的分手帖，不知说什么好</a></li><li><a href="http://observerlife.com/%e5%be%ae%e8%bd%af%e7%9a%84%e5%85%8d%e8%b4%b9%e5%a4%a7%e9%a4%90microsoft-e-learning-for-sql-server-2005/" rel="bookmark" class="crp_title">微软的免费大餐:Microsoft E-Learning for SQL Server 2005</a></li><li><a href="http://observerlife.com/softwares-of-mac-os-x/" rel="bookmark" class="crp_title">Mac OS X下常用软件</a></li><li><a href="http://observerlife.com/words-to-share-series-2/" rel="bookmark" class="crp_title">words to share &#8212; series 2</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://observerlife.com/php%e6%95%88%e7%8e%87%e4%bc%98%e5%8c%96/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>简单检测操作系统是否是64位系统的方法php版</title>
		<link>http://observerlife.com/%e7%ae%80%e5%8d%95%e6%a3%80%e6%b5%8b%e6%93%8d%e4%bd%9c%e7%b3%bb%e7%bb%9f%e6%98%af%e5%90%a6%e6%98%af64%e4%bd%8d%e7%b3%bb%e7%bb%9f%e7%9a%84%e6%96%b9%e6%b3%95php%e7%89%88/</link>
		<comments>http://observerlife.com/%e7%ae%80%e5%8d%95%e6%a3%80%e6%b5%8b%e6%93%8d%e4%bd%9c%e7%b3%bb%e7%bb%9f%e6%98%af%e5%90%a6%e6%98%af64%e4%bd%8d%e7%b3%bb%e7%bb%9f%e7%9a%84%e6%96%b9%e6%b3%95php%e7%89%88/#comments</comments>
		<pubDate>Thu, 09 Aug 2007 07:49:11 +0000</pubDate>
		<dc:creator>ycg</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[64位]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[操作系统]]></category>

		<guid isPermaLink="false">http://www.kedy.cn/blog/?p=201</guid>
		<description><![CDATA[Copy From : http://blog.chinaunix.net/u/10697/showart.php?id=170396 最近安装了x86_64的linux，并编译了php，于是要用简单的方法检测一下效果，看是否真的是64位系统 系统位数最直接体现在整数上，但是php是自动转化类型的，就是说如果php的整形溢出会自动转成浮点型，所以必须用强制类型来显示，或者用函数intval() 32位的系统最大的符合整数范围是-2147483648 到 2147483647，无符号数是0-4294967295，就是2的32次方-1，如果用32位有符号数作系统不超过22亿，而bill大叔交的税要超过这个数，所以美国税务部门普通电脑处理是会出错的 跑题了，64位系统有符号整数范围是-9223372036854775808 到 9223372036854775807 而无符号整数是0 到 2的64次方-1（18446744073709551616），这个数显然是非常大的，千亿亿级别，64位的优势体现在这里，可以处理超大整数运算，对于数据库意义重大！ 开始写个简单代码吧 代码1 &#60;? $a=2147483649; if((int)$a&#62;0) echo &#8216;&#62;=64位系统&#8217;; else echo &#8216;&#60;=32位系统&#8217;; ?&#62; 代码2 &#60;? $a=2147483649; if(intval($a)&#62;0) echo &#8216;&#62;=64位系统&#8217;; else echo &#8216;&#60;=32位系统&#8217;; ?&#62; &#160; Related Posts:freebsd7安装手册-更新ports 和src九型人格之 -完美型二十四孝PHP Interview questions from YAHOO图片格式]]></description>
			<content:encoded><![CDATA[<div class="cnt">
<div style="margin: 15px;">
<div>Copy From : http://blog.chinaunix.net/u/10697/showart.php?id=170396<br />
最近安装了x86_64的linux，并编译了php，于是要用简单的方法检测一下效果，看是否真的是64位系统</div>
<div>系统位数最直接体现在整数上，但是php是自动转化类型的，就是说如果php的整形溢出会自动转成浮点型，所以必须用强制类型来显示，或者用函数intval()</div>
<div>32位的系统最大的符合整数范围是-2147483648 到 2147483647，无符号数是0-4294967295，就是2的32次方-1，如果用32位有符号数作系统不超过22亿，而bill大叔交的税要超过这个数，所以美国税务部门普通电脑处理是会出错的</div>
<div>跑题了，64位系统有符号整数范围是-9223372036854775808 到 9223372036854775807</div>
<div>而无符号整数是0 到 2的64次方-1（18446744073709551616），这个数显然是非常大的，千亿亿级别，64位的优势体现在这里，可以处理超大整数运算，对于数据库意义重大！</div>
<div>开始写个简单代码吧</div>
<div>代码1</div>
<div>
<table align="center" style="border: 1px solid rgb(153, 153, 153); font-size: 12px; width: 80%;">
<tbody>
<tr>
<td>&lt;?<br />
            $a=2147483649;<br />
            if((int)$a&gt;0) echo &#8216;&gt;=64位系统&#8217;;<br />
            else echo &#8216;&lt;=32位系统&#8217;;<br />
            ?&gt;</td>
</tr>
</tbody>
</table>
</div>
<div>代码2</div>
<div>
<table align="center" style="border: 1px solid rgb(153, 153, 153); font-size: 12px; width: 80%;">
<tbody>
<tr>
<td>&lt;?<br />
            $a=2147483649;<br />
            if(intval($a)&gt;0) echo &#8216;&gt;=64位系统&#8217;;<br />
            else echo &#8216;&lt;=32位系统&#8217;;<br />
            ?&gt;</td>
</tr>
</tbody>
</table>
</div>
</div>
<p style="margin: 5px; line-height: 150%;">&nbsp;</p>
</div>
<p><a title="查看该分类中所有文章" href="http://hi.baidu.com/kedy/blog/category/Php"><br />
</a></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://observerlife.com/freebsd7%e5%ae%89%e8%a3%85%e6%89%8b%e5%86%8c-%e6%9b%b4%e6%96%b0ports-%e5%92%8csrc/" rel="bookmark" class="crp_title">freebsd7安装手册-更新ports 和src</a></li><li><a href="http://observerlife.com/%e4%b9%9d%e5%9e%8b%e4%ba%ba%e6%a0%bc%e4%b9%8b-%e5%ae%8c%e7%be%8e%e5%9e%8b/" rel="bookmark" class="crp_title">九型人格之 -完美型</a></li><li><a href="http://observerlife.com/%e4%ba%8c%e5%8d%81%e5%9b%9b%e5%ad%9d/" rel="bookmark" class="crp_title">二十四孝</a></li><li><a href="http://observerlife.com/php-interview-questions-from-yahoo/" rel="bookmark" class="crp_title">PHP Interview questions from YAHOO</a></li><li><a href="http://observerlife.com/%e5%9b%be%e7%89%87%e6%a0%bc%e5%bc%8f/" rel="bookmark" class="crp_title">图片格式</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://observerlife.com/%e7%ae%80%e5%8d%95%e6%a3%80%e6%b5%8b%e6%93%8d%e4%bd%9c%e7%b3%bb%e7%bb%9f%e6%98%af%e5%90%a6%e6%98%af64%e4%bd%8d%e7%b3%bb%e7%bb%9f%e7%9a%84%e6%96%b9%e6%b3%95php%e7%89%88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Interview questions from YAHOO</title>
		<link>http://observerlife.com/php-interview-questions-from-yahoo/</link>
		<comments>http://observerlife.com/php-interview-questions-from-yahoo/#comments</comments>
		<pubDate>Tue, 17 Jul 2007 07:30:52 +0000</pubDate>
		<dc:creator>ycg</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[programmer]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.kedy.cn/blog/?p=189</guid>
		<description><![CDATA[呵呵，翻译了篇东西，N长时间没用英语了，出了丑大家可一定要指出来啊。翻译自：Nick Halstead&#8217;s Blog A friend recently got some pre-interview questions from YAHOO for a PHP job. Following up my previous post about programmer questions I thought I would post them to give people examples of what a large corporation like YAHOO asks. 最近一位朋友得到了Yahoo的一些PHP面试题目，依照我之前发表关于程序员的相关文章的原则，我想我应该在这里发布出来，以给读者朋友们提供一些例子，让大家看看像YAHOO这样的大公司关心哪些问题。 1. Which of the following will not add john to the users [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">呵呵，翻译了篇东西，N长时间没用英语了，出了丑大家可一定要指出来啊。翻译自：<a target="_blank" href="http://blog.assembleron.com/2007/05/23/php-interview-questions-from-yahoo/">Nick Halstead&#8217;s Blog</a><br />
</span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">A friend recently got some pre-interview questions from <a href="http://www.yahoo.com/"><span style="color: blue">YAHOO</span></a> for a PHP job. Following up my previous post about programmer questions I thought I would post them to give people examples of what a large corporation like YAHOO asks. <o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span style="font-size: 12px; font-family: 宋体">最近一位朋友得到了<span lang="EN-US">Yahoo</span>的一些<span lang="EN-US">PHP</span>面试题目，依照我之前发表关于程序员的相关文章的原则，我想我应该在这里发布出来，以给读者朋友们提供一些例子，让大家看看像<span lang="EN-US">YAHOO</span>这样的大公司关心哪些问题。<span lang="EN-US"><o:p></o:p></span></span></font></p>
<p class="MsoListParagraph" style="margin-left: 18pt; text-indent: -18pt; text-align: left" align="left"><!--[if !supportLists]--><font size="3"><strong><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>1.<span style="font: 7pt &quot;Times New Roman&quot;; font-size-adjust: none; font-stretch: normal"> </span></span></span></strong><strong><span lang="EN-US" style="font-size: 12px; font-family: 宋体">Which of the following will not add john to the users array?<o:p></o:p></span></strong></font><!--[endif]--></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">1</span><span style="font-size: 12px; font-family: 宋体">、下面哪个选项没有将<span lang="EN-US"> john </span>添加到<span lang="EN-US">users </span>数组中？<span lang="EN-US"><o:p></o:p></span></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(204,102,204)">1</span>. <span style="color: blue">$users</span><span style="color: rgb(102,204,102)">[]</span> = &lsquo;john&rsquo;;<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(204,102,204)">2</span>. array_add<span style="color: rgb(102,204,102)">(</span><span style="color: blue">$users</span>,&rsquo;john&rsquo;<span style="color: rgb(102,204,102)">)</span>;<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(204,102,204)">3</span>. <span style="color: rgb(0,0,102)">array_push</span><span style="color: rgb(102,204,102)">(</span><span style="color: blue">$users</span>,&lsquo;john&rsquo;<span style="color: rgb(102,204,102)">)</span>;<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(204,102,204)">4</span>. <span style="color: blue">$users</span> ||= &lsquo;john&rsquo;;<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><br />
<strong>2. What&rsquo;s the difference between sort(), assort() and ksort? Under what circumstances would you use each of these?<o:p></o:p></strong></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><strong><span lang="EN-US" style="font-size: 12px; font-family: 宋体">2</span></strong><strong><span style="font-size: 12px; font-family: 宋体">、<span lang="EN-US">sort(), asort()(</span>注：原作者为<span lang="EN-US">assort,</span>应该是笔误<span lang="EN-US">)</span>和<span lang="EN-US">ksort() </span>三者之间有什么差别？</span></strong><span style="font-family: 宋体">你分别在什么情况下会使用上面三个函数？</span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><strong><span lang="EN-US" style="font-size: 12px; font-family: 宋体">3. What would the following code print to the browser? Why?<o:p></o:p></span></strong></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><strong><span lang="EN-US" style="font-size: 12px; font-family: 宋体">3</span></strong><strong><span style="font-size: 12px; font-family: 宋体">、下面这段代码将在浏览器上打印出什么内容？为什么？</span></strong><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: blue">$num</span> = <span style="color: rgb(204,102,204)">10</span>;<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><strong><span style="color: black">function</span></strong> multiply<span style="color: rgb(102,204,102)">(){</span><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: blue">$num</span> = <span style="color: blue">$num</span> * <span style="color: rgb(204,102,204)">10</span>;<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(102,204,102)">}</span><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>multiply<span style="color: rgb(102,204,102)">()</span>;<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(0,0,102)">echo</span> <span style="color: blue">$num</span>;<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><br />
4. What is the difference between a reference and a regular variable? How do you pass by reference &amp; why would you want to?<strong><o:p></o:p></strong></span></font></p>
<p class="MsoNormal" style="font-size: 12px; text-align: left" align="left"><font size="+0"><span lang="EN-US">4</span><span style="font-size: 12px; font-family: 宋体">、引用变量与普通变量之间有何区别？如何通过引用传值？在什么情况下会这样做？</span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">5. What functions can you use to add library code to the currently running script?<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">5</span><span style="font-size: 12px; font-family: 宋体">、哪些函数可以被用来向当前的代码中添加库代码？</span><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">6. What is the difference between foo() &amp; @foo()?<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">6</span><span style="font-size: 12px; font-family: 宋体">、<span lang="EN-US">foo()</span>和<span lang="EN-US">@foo()</span>之间有什么区别？</span><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">7. How do you debug a PHP application?<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">7</span><span style="font-size: 12px; font-family: 宋体">、你如何调试你的<span lang="EN-US">PHP</span>程序？</span><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">8. What does === do? What&rsquo;s an example of something that will give true for &lsquo;==&rsquo;, but not &lsquo;===&rsquo;?<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">8</span><span style="font-size: 12px; font-family: 宋体">、<span lang="EN-US">===</span>是什么运算符？请举一个例子，说明在什么情况下使用<span lang="EN-US">==</span>会得到<span lang="EN-US">true</span>，而使用<span lang="EN-US">===</span>却是<span lang="EN-US">false</span>。</span><strong><span style="font-size: 12px; font-family: 宋体"> </span></strong><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">9. How would you declare a class named &ldquo;myclass&rdquo; with no methods or properties?<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">9</span><span style="font-size: 12px; font-family: 宋体">、如何声明一个名为<span lang="EN-US">&rdquo;myclass&rdquo;</span>的没有方法和属性的类？</span><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">10. How would you create an object, which is an instance of &ldquo;myclass&rdquo;?<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">10</span><span style="font-size: 12px; font-family: 宋体">、如何实例化一个名为<span lang="EN-US">&rdquo;myclass&rdquo;</span>的对象？</span><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">11. How do you access and set properties of a class from within the class?<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">11</span><span style="font-size: 12px; font-family: 宋体">、你如何访问和设置一个类的属性？</span><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">12. What is the difference between include &amp; include_once? include &amp; require?<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">12</span><span style="font-size: 12px; font-family: 宋体">、<span lang="EN-US">include</span>和<span lang="EN-US">include_once</span>，<span lang="EN-US">include</span>和<span lang="EN-US">require</span>之间分别有什么区别？</span><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">13. What function would you use to redirect the browser to a new page?<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">13</span><span style="font-size: 12px; font-family: 宋体">、下面哪个函数可以重定向浏览器到一个新的页面？</span><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(204,102,204)">1</span>. redir<span style="color: rgb(102,204,102)">()</span><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(204,102,204)">2</span>. <span style="color: rgb(0,0,102)">header</span><span style="color: rgb(102,204,102)">()</span><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(204,102,204)">3</span>. location<span style="color: rgb(102,204,102)">()</span><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(204,102,204)">4</span>. redirect<span style="color: rgb(102,204,102)">()</span><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><br />
14. What function can you use to open a file for reading and writing?<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">14</span><span style="font-size: 12px; font-family: 宋体">、下面哪个函数可以打开一个文件，以对文件进行读和写操作？</span><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(204,102,204)">1</span>. fget<span style="color: rgb(102,204,102)">()</span>;<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(204,102,204)">2</span>. file_open<span style="color: rgb(102,204,102)">()</span>;<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(204,102,204)">3</span>. <span style="color: rgb(0,0,102)">fopen</span><span style="color: rgb(102,204,102)">()</span>;<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(204,102,204)">4</span>. open_file<span style="color: rgb(102,204,102)">()</span>;<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><br />
15. What&rsquo;s the difference between mysql_fetch_row() and mysql_fetch_array()?<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">15</span><span style="font-size: 12px; font-family: 宋体">、<span lang="EN-US">mysql_fetch_row() </span>和<span lang="EN-US">mysql_fetch_array</span>之间有什么区别？</span><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">16. What does the following code do? Explain what&rsquo;s going on there.<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">16</span><span style="font-size: 12px; font-family: 宋体">、下面这段代码执行了什么操作？解释一下每一步都发生了什么。</span><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: blue">$date</span>=&rsquo;<span style="color: rgb(204,102,204)">08</span>/<span style="color: rgb(204,102,204)">26</span>/<span style="color: rgb(204,102,204)">2003</span>&rsquo;;<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(0,0,102)">print</span> <span style="color: rgb(0,0,102)">ereg_replace</span><span style="color: rgb(102,204,102)">(</span>&ldquo;<span style="color: rgb(102,204,102)">([</span><span style="color: rgb(204,102,204)">0-9</span><span style="color: rgb(102,204,102)">]</span>+<span style="color: rgb(102,204,102)">)</span>/<span style="color: rgb(102,204,102)">([</span><span style="color: rgb(204,102,204)">0-9</span><span style="color: rgb(102,204,102)">]</span>+<span style="color: rgb(102,204,102)">)</span>/<span style="color: rgb(102,204,102)">([</span><span style="color: rgb(204,102,204)">0-9</span><span style="color: rgb(102,204,102)">]</span>+<span style="color: rgb(102,204,102)">)</span>&rdquo;,\<span style="color: rgb(204,102,204)">2</span>/\<span style="color: rgb(204,102,204)">1</span>/\<span style="color: rgb(204,102,204)">3</span>,<span style="color: blue">$date</span><span style="color: rgb(102,204,102)">)</span>;<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><br />
17. Given a line of text $string, how would you write a regular expression to strip all the HTML tags from it?<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">17</span><span style="font-size: 12px; font-family: 宋体">、给你一个字符串变量<span lang="EN-US">$string</span>，请编写一个正则表达式，去除其中的<span lang="EN-US">html</span>标记。</span><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">18. What&rsquo;s the difference between the way PHP and Perl distinguish between arrays and hashes?</span><strong><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></strong></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">18</span><span style="font-size: 12px; font-family: 宋体">、<span lang="EN-US">PHP</span>和<span lang="EN-US">Perl</span>中区别数组和<span lang="EN-US">hashes</span>的方法有什么不同？</span><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">19. How can you get round the stateless nature of HTTP using PHP?<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">19</span><span style="font-size: 12px; font-family: 宋体">、在<span lang="EN-US">PHP</span>中如何避开<span lang="EN-US">PHP</span>无连接的特性？</span><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">20. What does the GD library do?</span><strong><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></strong></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="2"><span lang="EN-US">20</span><span style="font-family: 宋体">、</span><span lang="EN-US">GD</span><span style="font-family: 宋体">库是做什么用的？</span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">21. Name a few ways to output (print) a block of HTML code in PHP?<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">21</span><span style="font-size: 12px; font-family: 宋体">、指出一些在<span lang="EN-US">PHP</span>输入一段<span lang="EN-US">HTML</span>代码的办法。</span><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">22. Is PHP better than Perl? &ndash; Discuss.<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">22</span><span style="font-size: 12px; font-family: 宋体">、<span lang="EN-US">PHP</span>比<span lang="EN-US">Peral</span>好吗？<span lang="EN-US">(</span>讨论<span lang="EN-US">)</span></span><span lang="EN-US" style="font-size: 12px; font-family: 宋体"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">I have no idea if there are different levels of PHP tests within YAHOO but this seems to be much easier level than something like the Zend Certification questions which require at times encyclopedic knowledge of the language (thank god I passed!). <o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span style="font-size: 12px; font-family: 宋体">我不知道<span lang="EN-US">YAHOO</span>是不是有不同水平的<span lang="EN-US">PHP</span>测试题，但这份题看起来比<span lang="EN-US">Zend</span>认证考试要容易一些，那个要求你对<span lang="EN-US">PHP</span>这门语言了解的像百科全书一样<span lang="EN-US">(</span>感谢上帝，我还是通过了<span lang="EN-US">)</span>。<span lang="EN-US"><o:p></o:p></span></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span lang="EN-US" style="font-size: 12px; font-family: 宋体">If you havent had a chance to read the articles about interviewing programmers, they are here.<o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-align: left" align="left"><font size="3"><span style="font-size: 12px; font-family: 宋体">如果你没有机会读到这篇关于程序员面试的文章，你可以在下面找到：</span></font></p>
<ul>
<li><font size="2"><a href="http://blog.assembleron.com/2007/05/15/interviewing-programmers-101-part-1/">Interviewing Programmers 101 Part 1</a></font></li>
<li><font size="2"><a href="http://blog.assembleron.com/2007/05/21/interviewing-programmers-101-part-2/">Interviewing Programmers 101 Part 2</a></font></li>
</ul>
<p class="MsoNormal"><font size="3"><span lang="EN-US"><o:p>&nbsp;</o:p></span></font></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://observerlife.com/%e7%88%b1%e8%bf%87%ef%bc%8c%e6%8b%bc%e8%bf%87%ef%bc%8c%e7%8e%a9%e8%bf%87%ef%bc%8c%e5%93%ad%e8%bf%87%e4%ba%8c-%e5%a4%a7%e5%ad%a6%e6%af%95%e4%b8%9a%e6%97%b6%e7%9a%84%e5%9b%9e%e9%a1%be/" rel="bookmark" class="crp_title">爱过，拼过，玩过，哭过(二) 大学毕业时的回顾</a></li><li><a href="http://observerlife.com/%e7%88%b1%e8%bf%87%ef%bc%8c%e6%8b%bc%e8%bf%87%ef%bc%8c%e7%8e%a9%e8%bf%87%ef%bc%8c%e5%93%ad%e8%bf%87%e4%b8%89-%e5%a4%a7%e5%ad%a6%e6%af%95%e4%b8%9a%e6%97%b6%e7%9a%84%e5%9b%9e%e9%a1%be/" rel="bookmark" class="crp_title">爱过，拼过，玩过，哭过(三) 大学毕业时的回顾</a></li><li><a href="http://observerlife.com/%e7%88%b1%e8%bf%87%ef%bc%8c%e6%8b%bc%e8%bf%87%ef%bc%8c%e7%8e%a9%e8%bf%87%ef%bc%8c%e5%93%ad%e8%bf%87%e5%9b%9b-%e5%a4%a7%e5%ad%a6%e6%af%95%e4%b8%9a%e6%97%b6%e7%9a%84%e5%9b%9e%e9%a1%be/" rel="bookmark" class="crp_title">爱过，拼过，玩过，哭过(四) 大学毕业时的回顾</a></li><li><a href="http://observerlife.com/squid%e8%af%b7%e6%b1%82%e5%a4%84%e7%90%86%e7%9a%84%e5%85%b8%e5%9e%8b%e6%b5%81%e7%a8%8b/" rel="bookmark" class="crp_title">Squid请求处理的典型流程</a></li><li><a href="http://observerlife.com/%e7%88%b1%e8%bf%87%ef%bc%8c%e6%8b%bc%e8%bf%87%ef%bc%8c%e7%8e%a9%e8%bf%87%ef%bc%8c%e5%93%ad%e8%bf%87%e4%b8%80-%e5%a4%a7%e5%ad%a6%e6%af%95%e4%b8%9a%e6%97%b6%e7%9a%84%e5%9b%9e%e9%a1%be/" rel="bookmark" class="crp_title">爱过，拼过，玩过，哭过(一) 大学毕业时的回顾</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://observerlife.com/php-interview-questions-from-yahoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
