<?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: 注意PHP5.2.11之后的json_decode</title>
	<atom:link href="http://www.laruence.com/2010/02/02/1272.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.laruence.com/2010/02/02/1272.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: 注意PHP5.2.11之后的json_decode &#124; 万维网黑客联盟</title>
		<link>http://www.laruence.com/2010/02/02/1272.html/comment-page-1#comment-3942</link>
		<dc:creator>注意PHP5.2.11之后的json_decode &#124; 万维网黑客联盟</dc:creator>
		<pubDate>Sun, 20 Mar 2011 09:58:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1272#comment-3942</guid>
		<description>[...] 本文地址: http://www.laruence.com/2010/02/02/1272.html [...]</description>
		<content:encoded><![CDATA[<p>[...] 本文地址: <a href="http://www.laruence.com/2010/02/02/1272.html" rel="nofollow">http://www.laruence.com/2010/02/02/1272.html</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RainChen</title>
		<link>http://www.laruence.com/2010/02/02/1272.html/comment-page-1#comment-2469</link>
		<dc:creator>RainChen</dc:creator>
		<pubDate>Sun, 07 Mar 2010 05:54:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1272#comment-2469</guid>
		<description>一般都会把这些封装到一个类，用静态方法调用，如
JSON::decode()
这样一来可以方便管理（归类、增加相关的方法），
二来可以避免PHP升级后的接口变异。
缺点是比直接调用原生的函数慢一点，但对比带来的可维护性的好处，这点效率牺牲完全可以忽略</description>
		<content:encoded><![CDATA[<p>一般都会把这些封装到一个类，用静态方法调用，如<br />
JSON::decode()<br />
这样一来可以方便管理（归类、增加相关的方法），<br />
二来可以避免PHP升级后的接口变异。<br />
缺点是比直接调用原生的函数慢一点，但对比带来的可维护性的好处，这点效率牺牲完全可以忽略</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: darasion</title>
		<link>http://www.laruence.com/2010/02/02/1272.html/comment-page-1#comment-2463</link>
		<dc:creator>darasion</dc:creator>
		<pubDate>Tue, 23 Feb 2010 15:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1272#comment-2463</guid>
		<description>json_encode 有没有类似这样的问题？</description>
		<content:encoded><![CDATA[<p>json_encode 有没有类似这样的问题？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 雪候鸟</title>
		<link>http://www.laruence.com/2010/02/02/1272.html/comment-page-1#comment-2457</link>
		<dc:creator>雪候鸟</dc:creator>
		<pubDate>Tue, 02 Feb 2010 14:37:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1272#comment-2457</guid>
		<description>@anderson  不要&quot;\&quot;abc\&quot;&quot;, 这里是指&quot;abc&quot;, ;)</description>
		<content:encoded><![CDATA[<p>@anderson  不要&#8221;\&#8221;abc\&#8221;", 这里是指&#8221;abc&#8221;, <img src='http://www.laruence.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders</title>
		<link>http://www.laruence.com/2010/02/02/1272.html/comment-page-1#comment-2456</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Tue, 02 Feb 2010 14:29:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1272#comment-2456</guid>
		<description>guoxiaod@guoxiaod&gt;php -r &#039;var_dump(json_decode(&quot;\&quot;abc\&quot;&quot;));&#039;
string(3) &quot;abc&quot;
guoxiaod@guoxiaod&gt;php -v 
PHP 5.2.10-2ubuntu6.4 with Suhosin-Patch 0.9.7 (cli) (built: Jan  6 2010 22:41:56)</description>
		<content:encoded><![CDATA[<p>guoxiaod@guoxiaod&gt;php -r &#8216;var_dump(json_decode(&#8220;\&#8221;abc\&#8221;"));&#8217;<br />
string(3) &#8220;abc&#8221;<br />
guoxiaod@guoxiaod&gt;php -v<br />
PHP 5.2.10-2ubuntu6.4 with Suhosin-Patch 0.9.7 (cli) (built: Jan  6 2010 22:41:56)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepseath</title>
		<link>http://www.laruence.com/2010/02/02/1272.html/comment-page-1#comment-2455</link>
		<dc:creator>Deepseath</dc:creator>
		<pubDate>Tue, 02 Feb 2010 13:47:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1272#comment-2455</guid>
		<description>类似这样频繁改动的函数，我会重新写个函数。呵呵，虽然麻烦但兼容性相对好一些，而且一旦确定环境了，进行优化也相对容易一些^_^</description>
		<content:encoded><![CDATA[<p>类似这样频繁改动的函数，我会重新写个函数。呵呵，虽然麻烦但兼容性相对好一些，而且一旦确定环境了，进行优化也相对容易一些^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 雪候鸟</title>
		<link>http://www.laruence.com/2010/02/02/1272.html/comment-page-1#comment-2454</link>
		<dc:creator>雪候鸟</dc:creator>
		<pubDate>Tue, 02 Feb 2010 13:13:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1272#comment-2454</guid>
		<description>@enjoy 我看到在5.2.9的release notes中有关于json_decode的, 但不是和这个相关的.</description>
		<content:encoded><![CDATA[<p>@enjoy 我看到在5.2.9的release notes中有关于json_decode的, 但不是和这个相关的.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: enjoy</title>
		<link>http://www.laruence.com/2010/02/02/1272.html/comment-page-1#comment-2453</link>
		<dc:creator>enjoy</dc:creator>
		<pubDate>Tue, 02 Feb 2010 13:07:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1272#comment-2453</guid>
		<description>我在5.2.8下试了下。
php -r &quot;var_dump(json_decode(&#039;laruence&#039;));&quot;
//输出
string(8) &quot;laruence&quot;</description>
		<content:encoded><![CDATA[<p>我在5.2.8下试了下。<br />
php -r &#8220;var_dump(json_decode(&#8216;laruence&#8217;));&#8221;<br />
//输出<br />
string(8) &#8220;laruence&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 雪候鸟</title>
		<link>http://www.laruence.com/2010/02/02/1272.html/comment-page-1#comment-2452</link>
		<dc:creator>雪候鸟</dc:creator>
		<pubDate>Tue, 02 Feb 2010 13:02:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1272#comment-2452</guid>
		<description>因为之前把几个PHP版本的安装路径搞混了, 看错了5.3的实现, 误以为5.3中和5.2.6一致, 抱歉给大家造成误解.</description>
		<content:encoded><![CDATA[<p>因为之前把几个PHP版本的安装路径搞混了, 看错了5.3的实现, 误以为5.3中和5.2.6一致, 抱歉给大家造成误解.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

