<?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: Preferred method to store PHP arrays (json_encode vs serialize)</title>
	<atom:link href="http://blog.dazzlecms.com/php/preferred-method-to-store-php-arrays-json_encode-vs-serialize/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dazzlecms.com/programming/php/preferred-method-to-store-php-arrays-json_encode-vs-serialize/</link>
	<description>The net&#039;s largest script collection and resource web portal</description>
	<lastBuildDate>Mon, 28 Nov 2011 20:02:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: admin</title>
		<link>http://blog.dazzlecms.com/programming/php/preferred-method-to-store-php-arrays-json_encode-vs-serialize/#comment-387</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 06 Apr 2011 22:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dazzlecms.com/?p=7#comment-387</guid>
		<description>Was this tested under php 5.3 as the original post of testing seemed faster.</description>
		<content:encoded><![CDATA[<p>Was this tested under php 5.3 as the original post of testing seemed faster.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ezekjel</title>
		<link>http://blog.dazzlecms.com/programming/php/preferred-method-to-store-php-arrays-json_encode-vs-serialize/#comment-386</link>
		<dc:creator>ezekjel</dc:creator>
		<pubDate>Wed, 06 Apr 2011 19:23:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dazzlecms.com/?p=7#comment-386</guid>
		<description>$data = array (
	&#039;db_host&#039; =&gt; &#039;localhost&#039;,
	&#039;db_user&#039; =&gt; &#039;root&#039;,
	&#039;db_pass&#039; =&gt; &#039;&#039;,
	&#039;db_name&#039; =&gt; &#039;bonku&#039;,
);

$n = 1000000;

result:

json_decode: 5.0293781757355 sec
unserialize: 3.1144690513611 sec</description>
		<content:encoded><![CDATA[<p>$data = array (<br />
	&#8216;db_host&#8217; =&gt; &#8216;localhost&#8217;,<br />
	&#8216;db_user&#8217; =&gt; &#8216;root&#8217;,<br />
	&#8216;db_pass&#8217; =&gt; &#8221;,<br />
	&#8216;db_name&#8217; =&gt; &#8216;bonku&#8217;,<br />
);</p>
<p>$n = 1000000;</p>
<p>result:</p>
<p>json_decode: 5.0293781757355 sec<br />
unserialize: 3.1144690513611 sec</p>
]]></content:encoded>
	</item>
</channel>
</rss>

